Tag Archives: remote: Invalid username or password

[github] Push remote: Invalid username or password

Why can’t you grab tickets when you travel on holiday?Reveal the key technology of 12306 how to ensure the ticket is not oversold>>>

Problem Description:

Push the modified code to GitHub and execute the command:

git push -u origin master

After entering the user name and password, the following error will be reported:

Username for 'https://github.com': xxxx
Password for 'https://[email protected]':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/xxxx/spring-framework.git/'

Note: no user name and password entered

Reason and resolution:

https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/