使用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凭证

全部评论

相关推荐

字节跳动冲冲冲冲:随时都可以投,9 10和2 3月份比较好找
点赞 评论 收藏
分享
嵌入式的小白:有道理哈,这种就看能不能捞
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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