git clone https://example.com/example/example.git error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
当使用git clone 产生这个问题的时候,在第一次克隆的时候,把克隆深度设置为1,然后再fetch
git clone https://example.com/example/example.git --depth 1 cd example git fetch --unshallow
还有一种方法就是改用ssh链接克隆
没有帐号? 现在注册.