天天看点

error: RPC failed; HTTP 401 curl 22 The requested URL returned error: 401

错误代码:

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

转载:https://www.cnblogs.com/jasonzhang-blog/p/11298542.html

git