Git Clone 拉取代码提示以下错误
remote : Enumerating objects: 57218, done .
remote : Counting objects: 100% (57218/57218), done.
remote : Compressing objects: 100% (15392/15392),done •
error: 7107 bytes of body are still expectedGiB 1 5.03 MiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
remote: Enumerating objects: 57218, done .
remote : Counting objects: 100% (57218/57218), done .
remote : Compressing objects:100% (15392/15392), done .
client 1oop: send disconnect: Broken pipe17 GiB 16.12 MiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
依次执行
# 增加Clone超时时间
git config --global http.postBuffer 1524288000
git config --global core.compression 0
git clone --depth 1 [email protected]:xx/server.git
git fetch --unshallow
标签:Git,disconnect,objects,sideband,git,done,remote,fetch,pack
From: https://blog.51cto.com/jinliang/7035209