git config --global credential.helper store
使用上述的命令配置好之后,再操作一次git pull,然后它会提示输入账号密码,这一次之后就不需要再次输入密码了:
git push和pull每次都要输入密码
原文:https://www.cnblogs.com/phpper/p/13266972.html