1 git config --global credential.helper store 再次git pull或者git push 命令,根据提示输入帐号和密码,下一次就不用输入了, 其实是存储在git-credentials文件里面了