Mac OS系统SourceTree(Git)保存用户名及密码,避免每次push和pull都要输入密码 打开终端输入内容: git config --global credential.helper osxkeychain 之后在Git操作时只需输入一次用户名及密码,以后就不需要输入了 End