SourceTree一直提示输入密码
2018-05-07 本文已影响429人
帆动世界
git config –global credential.helper osxkeychain
终端输入以上命令,如果不能执行,请参照以下安装:
git credential-osxkeychain
curl -s -O https://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain
chmod u+x git-credential-osxkeychain
sudo mv git-credential-osxkeychain "$(dirname $(which git))/git-credential-osxkeychain"
git config --global credential.helper osxkeychain