early EOF fatal: index-pack failed

First, turn off compression:

///关闭压缩
git config --global core.compression 0

///默认压缩

git config --global core.compression -1

///增加git缓存

git config --global http.postBuffer 524288000 (500M)

Next, let's do a partial clone to truncate the amount of info coming down:
git clone --depth 1 repo_URI

When that works, go into the new directory and retrieve the rest of the clone:
git fetch --unshallow
or, alternately,
git fetch --depth=2147483647 URI

Now, do a regular pull:
git pull --all

 

你可能感兴趣的:(early EOF fatal: index-pack failed)