git提交代碼的時(shí)候,報(bào)錯(cuò)
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
大概意思是說(shuō)對(duì)密碼身份驗(yàn)證的支持于2021年8月13日取消,所以終端Password for 'https://XXX:后面不能寫(xiě)密碼了,要改用用戶的token,token的獲取方法如下:
?文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-512842.html
?文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-512842.html
note隨意填寫(xiě),最后點(diǎn)擊Regenerate Token 按鈕即可
?
?
?
到了這里,關(guān)于git 報(bào)錯(cuò) fatal: Authentication failed的解決的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!