尝试克隆一个裸存储库并收到以下错误消息。存储库相当大,总大小为 3GB。我要克隆到的客户端是 MacOSX。
remote: Counting objects: 20118, done.
remote: Compressing objects: 100% (16577/16577), done.
error: pack-objects died of signal 9 3.49 MiB | 745 KiB/s
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
我一开始也有这个问题,并用
git config pack.windowMemory 5m
git config pack.packSizeLimit 10m
就像这篇文章中提到的
git repack 在远程主机上工作,没有错误。git gc 不工作,但以以下错误消息结束。
Counting objects: 20118, done.
Delta compression using up to 2 threads.
error: failed to run repack6551/16577)
我能做些什么?