12

这个问题不同于Git push “错误:索引包死于信号 9”

错误信息如下:

remote: Counting objects: 40512, done.
remote: Compressing objects: 100% (8896/8896), done.
remote: Total 40512 (delta 31079), reused 40394 (delta 30980)
Receiving objects: 100% (40512/40512), 6.05 MiB | 22 KiB/s, done.
error: index-pack died of signal 99)   
fatal: index-pack failed

real    1292050m43.682s
user    0m23.645s
sys     0m5.872s

还有一个案例:

remote: Counting objects: 18389, done.
remote: Compressing objects: 100% (4951/4951), done.
fatal: The remote end hung up unexpectedly MiB | 22 KiB/s      
fatal: early EOF
fatal: index-pack failed

real    7m18.359s
user    0m4.448s
sys     0m1.860s
4

1 回答 1

7

这很可能是网络连接丢失 - 错误 99 来自您的 ssh

Connection Closed By Remote Host 

尝试

GIT_TRACE=1 git clone REPO new_dir

这会让你确切地知道它在哪里超时。

于 2012-11-09T22:16:17.717 回答