failed when git clone

error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) error: 6024 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output
1 Reply
Ravener
Ravener2w ago
this is usually a network issue, your connection might not be stable, especially when cloning a large repository try git clone --depth=1 https://github.com/something/something with --depth=1 it will exclude the entire history and just download the latest state of the code. so if you don't care about history, that usually downloads less and could be easier on your connection.

Did you find this page helpful?