首页 > git push 报错error: RPC failed; result=56, HTTP code = 200

git push 报错error: RPC failed; result=56, HTTP code = 200

$ git push -u origin master
Counting objects: 138, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (131/131), done.
Writing objects: 100% (138/138), 51.12 KiB | 0 bytes/s, done.
Total 138 (delta 47), reused 0 (delta 0)
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly


同上,多试几次


Error code 56 表示 git 在 clone 时遇到了网络问题,请检查你的网络设置,防火墙,VPN 等,你可以执行 $ GIT_CURL_VERBOSE=1 git pull 查看错误详情。

如果依然报错,可以更换为 SSH 地址推送,可参考该文档排错:https://coding.net/help/faq/g...

如果你的网络环境屏蔽了 22 这个端口,也可以使用 443 端口的 SSH 服务,详见:https://coding.net/help/faq/g...


你的origin是github吗,估计是网络不好,再试试吧

【热门文章】
【热门文章】