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 @ 2020-08-20 00:09  竹林听雨行  阅读(724)  评论(0编辑  收藏  举报