Username for 'https://github.com': remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/GLSmile/pythontest.git/' 问题

使用$ git push -u origin master 进行同步时,提示输入用户名和密码,但是我输入正确的信息后,仍然

会报Username for 'https://github.com': remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/GLSmile/pythontest.git/'  错误

 

 

解决办法:

   查了百度,进行下面操作成功解决了! git中:

 

 

 

再次执行$ git push -u origin master 命令,成功!

 

posted @ 2020-05-20 14:32  嘿豆粒  阅读(928)  评论(0编辑  收藏  举报