当前位置:   article > 正文

git 报错 fatal: Authentication failed的解决

fatal: authentication failed

git提交代码的时候,报错

remote: Support for password authentication was removed on August 13, 2021.

remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.

fatal: Authentication faile

大概意思是说对密码身份验证的支持于2021年8月13日取消,所以终端Password for 'https://XXX:后面不能写密码了,要改用用户的token,token的获取方法如下:

 

 

note随意填写,最后点击Regenerate Token 按钮即可

 

 

 

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

闽ICP备14008679号