解决Git问题之fatal: index-pack failed

问题描述

$ git clone URL
Cloning into '***'...
remote: Counting objects: 19394, done.
remote: Compressing objects: 100% (10843/10843), done.
error: RPC failed; result=18, HTTP code = 200B | 99.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

修改git clone超时时间 /home/git/gitlab/config/unicorn.rb

# nuke workers after 30 seconds instead of 60 seconds 
 timeout 300

重启GitLab

 sudo service gitlab restart

你可能感兴趣的:(git)