Git报错:remote: HTTP Basic: Access denied的解决方法
Git报错:remote: HTTP Basic: Access denied的解决方法
问题出现原因:
本地git账号信息与远程git仓库账号不一致导致的。
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://localhost/xxx.git/'
解决方案:
1、配置用户信息
git config --global user.name [username]
git config --global user.email [email]
2、查询用户信息
git config --list
3.重置本地git仓库账号密码
git config --system --unset credential.helper
完毕
本文链接:
/archives/1697077568779
版权声明:
本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自
AkkunYoの博客!
喜欢就支持一下吧