mac电脑,sourcetree反复要求输入密码解决方案

弹层总是提示:

password required
for user kpngpf on host gitlab.bitautotech.com
store password in keychain

 

无论是 拉取 还是 推送 代码 都是提示弹层输入密码

 

解决方案:

只需执行下面一句命令:

git config --global credential.helper osxkeychain


此处填写的是电脑开机密码,并且勾选始终允许即可。

 

 这时候,再拉取 或者 推送代码就不用一直输入密码了。

 

来源:https://newsn.net/say/sourcetree-mac-pwd.html 

posted @ 2020-02-10 21:44  kpengfang  阅读(2133)  评论(0编辑  收藏  举报