Git报错:remote: HTTP Basic: Access denied的解决方法

Git 执行 git pull 命令是报错如下:

remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://localhost/rep.git/'

 

问题原因:

账号密码验证不通过,密码或者权限不对,导致 Git 操作失败。

豌豆资源搜索网站https://55wd.com 广州vi设计公司http://www.maiqicn.com

解决方案:

输入:git config --system --unset credential.helper

再次进行 Git 操作,输入正确的用户名,密码即可。

posted @ 2020-09-24 15:21  浅笑·  阅读(666)  评论(0编辑  收藏  举报