问题描述:
向github上面push修改后的代码,执行命令:
git push -u origin master
输入完用户名和密码,报以下错误:
Username for 'https://github.com': xxxx
Password for 'https://xxxx@github.com':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/xxxx/spring-framework.git/'
注明:用户名和密码没有输错
原因和解决方式:
https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/