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

 

posted @ 2019-05-13 18:07  山顶洞外人  阅读(2702)  评论(0编辑  收藏  举报