【问题标题】:Cannot push project to github无法将项目推送到 github
【发布时间】:2020-11-22 21:03:10
【问题描述】:

我正在尝试将一个虚幻项目推送到 github。这是一个非常大的存储库,>12 GB。每次我尝试使用 SSL 推送时,我都会得到以下内容并且 repo 不会推送。

Enumerating objects: 990, done.
Counting objects: 100% (990/990), done.
Delta compression using up to 6 threads
fatal: the remote end hung up unexpectedly
Connection to github.com closed by remote host.
Compressing objects: 100% (945/945), done.
fatal: sha1 file '<stdout>' write error: Broken pipe
fatal: the remote end hung up unexpectedly

有什么建议吗?

【问题讨论】:

标签: git github large-files


【解决方案1】:

我多次遇到同样的错误。当我的互联网断开连接时,错误就在我身上。我的提示(以及我如何修复它):还原您的最后(或初始)提交,其中包含 12GB 数据(不是还原提交!)。之后,通过仅暂存项目的单个文件夹将项目拆分为较小的项目。比尝试一次只推送一个提交(更多信息,请查看here)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-06-21
    • 2021-12-22
    • 2023-03-03
    • 2023-03-27
    • 2020-12-03
    • 1970-01-01
    相关资源
    最近更新 更多