【发布时间】:2019-08-31 22:14:33
【问题描述】:
我想 fork 一个巨大的存储库 (10GB),将其过滤到特定目录并将过滤后的版本推送到新的 Github 存储库。
我已经使用these 指令来拉取和过滤到我的目录,这很有效。但是当我尝试将过滤后的 repo 推送回 Github 时,我收到了这个错误:
$ git push origin master --force
Enumerating objects: 2292154, done.
Counting objects: 100% (2292154/2292154), done.
Delta compression using up to 8 threads
Compressing objects: 100% (562030/562030), done.
error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 32
fatal: the remote end hung up unexpectedly
Writing objects: 100% (2292154/2292154), 7.03 GiB | 40.92 MiB/s, done.
Total 2292154 (delta 1726549), reused 2292154 (delta 1726549)
fatal: the remote end hung up unexpectedly
Everything up-to-date
我尝试了here提出的解决方案,但错误仍然存在。
有没有办法 fork 一个特定的目录并减少总 repo 大小以使其更易于管理?
【问题讨论】: