我正在尝试通过 Github 上的 sourcecontrol 上传一个比较大的 Unreal engine 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 试过了,它产生了同样的错误。
最佳答案
首先检查这是否是客户端设置问题:
git config http.postBuffer 524288000
(从 Git 2.13 开始你可以 increase that setting)
还要确保不超过 GitHub size limit .
关于github - 无法推送到github,远程端意外挂了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49786408/