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 了

原文地址:https://www.cnblogs.com/cxxtreasure/p/13532706.html