git clone 有什么问题?索引包因信号 99 错误而死亡

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12337901/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 07:28:25  来源:igfitidea点击:

what's wrong with git clone? index-pack died of signal 99 error

gitversion-controlgit-clone

提问by thinke365

this issue is different from Git push "error: index-pack died of signal 9"

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

the error message is as follows:

错误信息如下:

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

one more case:

再一个案例:

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

回答by Michael

This is a loss of network connectivity more than likely - error 99 is coming from your ssh

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

Connection Closed By Remote Host 

Try with

试试

GIT_TRACE=1 git clone REPO new_dir

That will let you know exactly where it is timing out.

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