我正在尝试将Gitlab上的私有库迁移到Github。其中包含使用git LFS跟踪的一些大型文件。即使如此,我仍然无法将repo推送到GitHub。由于它是操作系统的完整代码库,因此repo的大小非常巨大,约为75GB。
当我尝试将其推送到GitHub时,会得到以下日志。
Uploading LFS objects: 100% (8600/8600), 5.9 GB | 0 B/s, done
Enumerating objects: 472049, done.
Counting objects: 100% (472049/472049), done.
Compressing objects: 100% (302043/302043), done.
kex protocol error: type 7 seq 16549), 1020.66 MiB | 4.88 MiB/s
kex protocol error: type 7 seq 32979), 1.99 GiB | 4.83 MiB/s
remote: fatal: pack exceeds maximum allowed size
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
请告诉我是否有任何方法可以绕过大小限制。
git push upstream master~10000:master; git push upstream master~9000:master;
以此类推。 - eftshift0