1、执行以下命令:
git config --global --unset credential.helper
git config --system --unset credential.helper
2、再执行 git pull的时候就会提示输入账号密码
3、如果每次git pull 的时候都提示需要输入账号密码 就执行
git config --global credential.helper wincred
这样就会重新配置凭证助手 永久存储账号密码
如果执行完git config --global credential.helper wincred 后再使用git pull 拉取代码报错的话,可能是 有些情况下 wincred 有问题,试试 store,即:先用git config --global --unset credential.helper 清除缓存,再执行 git config --global credential.helper store 这样再使用git pull 应该就可以了
`