git复制仓库报错
没开VPN
如果开了报错
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 3658 bytes of body are still expected
fetch-pack: unexpected derror: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 3658 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
isconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
这个错误通常是由于网络不稳定或数据传输中断导致的
- 重新尝试,有时候只是暂时的网络问题,再次尝试可能会成功。
- 增加 Git 的缓存大小
git config --global http.postBuffer 524288000
问题解决: