error: git upload-pack: git-pack-objects died with error

问题

error: git upload-pack: git-pack-objects died with error
fetal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side
fetal: early EOF
fetal: index-pack failed

解决方法

git config --global pack.packSizeLimit 50m
git config --global pack.windowMemory 50m
git config --global core.compression 9
git config --global pack.threads "1"
git config --global pack.window "0"

你可能感兴趣的:(error: git upload-pack: git-pack-objects died with error)