6
解决在Mac上sourcetree反复要求输入密码的问题
source link: https://zhuanlan.zhihu.com/p/381180050
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
解决在Mac上sourcetree反复要求输入密码的问题
MacW每天为大家分享软件教程和技巧。
在安装完sourcetree之后,无论是拉取
还是推送
代码都是提示弹层输入密码
,怎么办?
问题描述
如下图所示,无论是拉取pull
代码,还是提交push
代码。都是会出现下面的要求输入密码的对话框。
解决方案
复制以下代码到终端上执行一下:
git config --global credential.helper osxkeychain
执行完成后,会跳出钥匙串的对话框此处填写的是电脑开机密码,并且勾选始终允许,否则,还是要一直跳出现在的这个登陆窗口了。
发布于 10 小时前
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK