git push时遇到错误:

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

The remote end hung up

这是因为本地保存了错误的账号密码导致,需要清除本地保存的账号密码信息,那么再次提交代码是就会重新让你输入账号密码了。

解决方案:

git config --system --unset credential.helper

git push 

参考:https://www.cnblogs.com/jimboi/p/9019942.html

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐