Github鉴权失败

参考链接:https://mycyberuniverse.com/how-fix-fatal-authentication-failed-for-https-github-com.html

致命错误:'https://github.com/' 鉴权失败

解决办法:

  • Settings->Developer settings->Personal access tokens->Generate new token
  • 创建新的访问密钥,勾选repo栏,选择有效期,为密钥命名。
  • 复制这段密钥。(注意,密钥只显示一次,记得妥善保管)
  • git push时,作为用户密码来使用。

完整的图文教程请参考英文原文How to fix: fatal: Authentication failed for https://github.com/

posted @ 2022-11-29 14:40  Leeds_Garden  阅读(3283)  评论(0编辑  收藏  举报