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

Spe*_*vra 3 push github git-push github-for-windows atlassian-sourcetree

我正在尝试通过 Github 上的源代码管理上传一个相对较大的虚幻引擎 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.)
Run Code Online (Sandbox Code Playgroud)

我的连接没问题,因为我试了好几次,总是100%失败。

我用 Sourcetree 和 Github Desktop 尝试过,它产生了相同的错误。

Von*_*onC 6

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

cd /path/to/your/repository
git config http.postBuffer 524288000
Run Code Online (Sandbox Code Playgroud)

(从 Git 2.13 开始您可以增加该设置)

还要确保不超过GitHub 大小限制