Remote: Password authentication is temporarily disabled as part of a brownout. Please use a perso...

当我们在提交代码到Github时(执行git push命令时),可能会不出现密码弹窗,直接提示以下问题:

remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead.
remote: Please see https://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/ for more information.
fatal: unable to access 'https://github.com/xxx/xxx.git/': The requested URL returned error: 403

这个时候其实是由于我们设置了credential.helper,只需要执行如下命令即可解决此问题:

git config --system --unset credential.helper
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 俗话说得好: 你有一个苹果,我有一个苹果,我们交换之后每个人还是只有一个苹果;但是你有一个网站,我有一个网站,我们...
    走错说爱你阅读 1,272评论 0 1
  • 一.Git简介 Git是目前世界上最先进的分布式版本控制系统。它就没有中央服务器的,每个人的电脑就是一个完整的版本...
    大鹏的鹏阅读 550评论 0 0
  • 1.强制推送(慎用,除非你认为其他冲突等可以丢弃 或者不是很重要) git push -- force 2.创建文...
    qnmdaq阅读 477评论 0 1
  • 1. git push/pull 报权限错误:HTTP Basic: Access denied and fata...
    BlessNeo阅读 5,690评论 0 1
  • 1 前言 很惭愧做了几年开发,刚刚使用Git。入职的时候使用公司邮箱注册的GitHub账号,后来使用私人邮箱又注册...
    脑袋Mini阅读 30,234评论 5 34