2020-06-19解决source每次拉代码都需要输入密码
2020-06-19 本文已影响0人
clausliang
在.git目录中有个config目录,在路径前配置下用户名和密码即可
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = http://帐号:密码@url.git
fetch = +refs/heads/*:refs/remotes/origin/*