報錯如下:
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 1964 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
就是網不好
換個網,再不行用下面的方式嘗試一下
$ git clone http://github.com/large-repository --depth 1//查看最新的代碼, 來獲取最新一次的提交
$ cd large-repository
$ git fetch --unshallow//獲取歷史版本