当前位置:   article > 正文

gitee: fatal: Authentication failed for ‘https://gitee.com/xxx‘

fatal: authentication failed for

推送更新到你的某个项目时,会遇到以下报错:

$ git push origin master
remote: [session-6841d990] xxx: Incorrect username or password (access token)
fatal: Authentication failed for 'https://gitee.com/xxx/vue3-element-admin.git/'
  • 1
  • 2
  • 3

执行以下命令,就可以重置账号和密码了:

git config --system --unset credential.helper

  • 1
  • 2

这样再次提交后可以重新输入账号密码,另外,谨记:账号是注册的邮箱!!!!,试了好多遍才知道。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/酷酷是懒虫/article/detail/818848
推荐阅读
相关标签
  

闽ICP备14008679号