解决每次 git pull/push 时都需要输入账号和密码的问题
问题
在提交代码或者拉取代码的时候,如果每次git都要输入用户名密码
解决方法
1. 终端输入
git config --global credential.helper store
2. 在git push /pull 的时候输入一次后,之后就不用在输账号和密码了。
本文来自博客园,作者:大橙子疯,转载请注明原文链接:https://www.cnblogs.com/const-zpc/p/16364408.html
在提交代码或者拉取代码的时候,如果每次git都要输入用户名密码
1. 终端输入
git config --global credential.helper store
2. 在git push /pull 的时候输入一次后,之后就不用在输账号和密码了。
本文来自博客园,作者:大橙子疯,转载请注明原文链接:https://www.cnblogs.com/const-zpc/p/16364408.html