github中push代码时提示远程终端意外挂起的解决方法

github中push代码时提示远程终端意外挂起怎么办?相信很多新手小白对此束手无策,通过这篇文章的总结,希望你能找到解决的方法。

提示:The remote end hung up unexpectedly The remote end hung up unexpectedly RPC failed; result=22, HTTP code = 404

1.打开项目代码的git bash,输入一下命令:
1)git  remote  rename  origin  old-origin
2)git  remote  add  origin 项目地址
2.重新在origin远程push代码即可。

看完上述内容,你们掌握github中push代码时提示远程终端意外挂起的解决方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注行业资讯频道,感谢各位的阅读!