http方式:git
记住密码的方式:http://【帐号】:【密码】@【ip】:【port】/【项目路径】/【.git文件】bash
url举例:http://username:password@192.168.1.104:2222/demo/demo.gitssh
https方式:url
记住密码的方式:在git bash中配置git config credential.helper storeip
ssh方式:it
记住密码的方式:在git远程仓库中配置ssh公钥。配置