http方式:
记住密码的方式:http://【账号】:【密码】@【ip】:【port】/【项目路径】/【.git文件】
url举例:http://username:password@192.168.1.104:2222/demo/demo.git
https方式:
记住密码的方式:在git bash中配置git config credential.helper store
ssh方式:
记住密码的方式:在git远程仓库中配置ssh公钥。
http方式:
记住密码的方式:http://【账号】:【密码】@【ip】:【port】/【项目路径】/【.git文件】
url举例:http://username:password@192.168.1.104:2222/demo/demo.git
https方式:
记住密码的方式:在git bash中配置git config credential.helper store
ssh方式:
记住密码的方式:在git远程仓库中配置ssh公钥。
转载于:https://my.oschina.net/u/2312080/blog/3006571