Git error fatal: Authentication failed solution

When git submits the code, an error is reported

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

It probably means that the support for password authentication will be canceled on August 13, 2021, so the terminal Password for 'https://XXX: cannot be followed by a password, and the user's token must be used instead. The token acquisition method is as follows:

 

 

fill in the note at will, and finally click the Regenerate Token button

 

 

 

Guess you like

Origin blog.csdn.net/ForeverMyheart/article/details/131479110