使用git时出现“remote: HTTP Basic: Access denied fatal: Authentication failed for ‘https://XXX”

项目场景:

使用git提交代码或者clone代码时,出现 remote: HTTP Basic: Access denied fatal: Authentication failed for 'https://xxx

解决方案:

方案一: 将git中之前存储的用户名和密码重新输一次

git config --system --unset credential.helper
git config --global credentia.helper store

如下:

方案二:修改本地git凭证

全部评论

相关推荐

迷茫的大四🐶:💐孝子启动失败,改为启动咏鹅
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务