菜猿pro  

错误代码:

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用户名或密码导致

 

posted on 2019-08-04 16:10  菜猿pro  阅读(7082)  评论(0编辑  收藏  举报