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的获取方法如下:
文章来源地址https://www.toymoban.com/news/detail-512842.html
文章来源:https://www.toymoban.com/news/detail-512842.html
note随意填写,最后点击Regenerate Token 按钮即可
到了这里,关于git 报错 fatal: Authentication failed的解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!