git拉取上传缓存限制报错:39705 bytes of body are still expected(记录)

上传或下载报错:

error: 39705 bytes of body are still expected | 5.54 MiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF

A1:修改缓存限制

git config --global http.postBuffer 16000M

A2:修改大缓存还不行的话,可能是历史记录太多,可以修改深度拉取最近的代码(下载时)

git clone [your git url] --depth 1
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐