git 账号密码

由于git迁移服务地址,而导致无法登陆

首先

 git config --system --unset credential.helper 

然后执行

git config --global credential.helper store

接着去拉取代码输入一次账号密码,后续就不需要输入了

如果还不行那就看一下配置文件

这两行注释掉,在重新执行

 git config --system --unset credential.helper 

然后执行

git config --global credential.helper store

猜你喜欢

转载自www.cnblogs.com/myloveblogs/p/10858169.html