解决git push、pull时总是需要你输入用户名和密码

git config --global credential.helper store
之后再次执行git push 或者git pull这时候还需要输入用户名和密码

下次就不需要了

原文地址:https://www.cnblogs.com/igoodful/p/11388938.html