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

猜你喜欢

转载自www.cnblogs.com/jasonzhang-blog/p/11298542.html
今日推荐