弹层总是提示:
password requiredfor user kpngpf on host gitlab.bitautotech.comstore password in keychain
无论是 拉取 还是 推送 代码 都是提示弹层输入密码
解决方案:
只需执行下面一句命令:
git config --global credential.helper osxkeychain此处填写的是电脑开机密码,并且勾选始终允许即可。
git config --global credential.helper osxkeychain
这时候,再拉取 或者 推送代码就不用一直输入密码了。
来源:https://newsn.net/say/sourcetree-mac-pwd.html