解决git一直输入用户名和密码的问题

git config --system --unset credential.helper,在git中输入此命令后,每次拉去代码需要重新输入用户名和密码,可以使用git config --global credential.helper store,这样再获取代码提示输入用户名和密码,输入之后后续就不需要再次输入了。

原文地址:https://www.cnblogs.com/zhuzhaoli/p/10172008.html