无法推送到github,远程端意外挂断

时间:2018-04-12 00:53:35

标签: github push atlassian-sourcetree git-push github-for-windows

我试图通过Github上的sourcecontrol上传一个相对较大的虚幻引擎4项目。

它完全上传,当它达到100%时,它无法给我这个错误:

Writing objects: 100% (8901/8901), 11.30 GiB | 33.67 MiB/s   
Writing objects: 100% (8901/8901), 11.32 GiB | 31.25 MiB/s, done.
Total 8901 (delta 632), reused 8579 (delta 403)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; curl 56 Send failure: Connection was reset
Everything up-to-date

(The error was parsed as 4: The remote disconnected. Check your Internet connection and try again.)

我的联系很好,因为我试了几次,总是以100%的速度失败。

我尝试使用Sourcetree和Github Desktop,它会产生同样的错误。

1 个答案:

答案 0 :(得分:2)

首先检查这是否是客户设置问题:

git config http.postBuffer 524288000

(从Git 2.13起你可以increase that setting

同时确保不要超过GitHub size limit