环境说明:远程仓库为gitlab,redhat系统
错误提示如下
Cloning into 'codis'...
remote: Enumerating objects: 16625, done.
error: RPC failed; result=18, HTTP code = 200iB | 10.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解决方法
git clone https://github.com/CodisLabs/codis.git -b release3.2 depth=1
Cloning into 'depth=1'...
remote: Enumerating objects: 16625, done.
remote: Total 16625 (delta 0), reused 0 (delta 0), pack-reused 16625
Receiving objects: 100% (16625/16625), 22.47 MiB | 15.00 KiB/s, done.
Resolving deltas: 100% (8829/8829), done.