git版本控制工具SourceTree
1.不用多次输入密码解决方案
1>先使用命令下载 git-credential-osxkeychain
curl http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain -o git-credential-osxkeychain
2>把 git-credential-osxkeychain 放入 bin目录
mv git-credential-osxkeychain /usr/local/bin
3>给 git-credential-osxkeychain 赋权限
chmod u+x /usr/local/bin/git-credential-osxkeychain
4>在Git全局配置中进行设置(也可以在某一个项目里面设置):
git config --global credential.helper osxkeychain