fatal: Authentication failed for 'http://git

git pull 出现 fatal: Authentication failed for 'http://git...

git config --system --unset credential.helper

error: could not lock config file C:/Program Files/Git/mingw64/etc/gitconfig: Permission denied

在 windows cmd 中执行 git config --system --unset credential.helper

之后就会出现 git 输入用户名密码的弹框,就 OK 了

posted @ 2019-10-28 10:10  漸行漸遠  阅读(614)  评论(0编辑  收藏  举报