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

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

我正在尝试通过 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/

相关文章:

C++ - 克隆到 vector 中

当我将数据推送到初始化堆栈时,C 链表不会改变

atlassian-sourcetree - 如何自定义 SourceTree 快捷方式?

r - 运行 git pull 后如何解决错误 bad object refs/heads/main (1)

android - 如何将示例 ApiDemo 导入 Android Studio 1.5.1

mercurial - 如何在 Mercurial 中的存储库之间推送/拉取单个变更集?

atlassian-sourcetree - LFS : Git credentials for. .XXXX..未找到。您的用户名的格式必须为 DOMAIN\user

git - 如何 git stash 我的工作,从 github pull ,然后将我的工作放回到项目中?

svn - 有没有办法在事后将 svn 历史导入 git?

github - 如何通过 GitHub API 获取存储库的分支数?