git push错误 报error: RPC failed; HTTP 401 curl 22 The requested URL returned error: 401 fatal: The remote end hung up unexpectedly


错误代码:

error: RPC failed; HTTP 401 curl 22 The requested URL returned error: 401
fatal: The remote end hung up unexpectedly

解决办法:

1、运行命令

git config --global credential.helper store

2、重新push

git push -u origin master

3、根据提示重新输入GitHub用户名密码

 

原因分析:

一般为修改GitHub用户名或密码导致

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM