git clone出错,错误信息如下:
error: pack-objects died of signal 9616/4935)
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
搜索后,
方法1
在git的客户端设置
方法2
在git的服务端设置
修改/home/git/repositories/***.git/config,增加以下内容
[pack]
window = 0
此方法OK
error: pack-objects died of signal 9616/4935)
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
搜索后,
方法1
在git的客户端设置
git config --global pack.windowMemory "100m"
git config --global pack.SizeLimit "100m"
git config --global pack.threads "1"
git config --global pack.window "0"
结果未能解决git config --global pack.SizeLimit "100m"
git config --global pack.threads "1"
git config --global pack.window "0"
方法2
在git的服务端设置
修改/home/git/repositories/***.git/config,增加以下内容
[pack]
window = 0
此方法OK