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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章