使用git clone包时报了这个错:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 7777 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 config --global
使用 git config --list可以查看对应的配置
修改后还是有问题,可能是文件过多,于是换了种方法,分批下载:
1 关闭core.compression
2 git config --global core.compression 0
3
4 depth下载最近一次提交
5 git clone --depth 1 url
6
7 然后获取完整库
8 git fetch --unshallow
9
10 pull一下查看状态
11