gitclone的时候出现出现error
- 手机
- 2025-09-16 12:06:01

报错如下:
Collecting git+ github /haotian-liu/LLaVA.git Cloning github /haotian-liu/LLaVA.git to /tmp/pip-req-build-360q6tt1 Running command git clone --filter=blob:none --quiet github /haotian-liu/LLaVA.git /tmp/pip-req-build-360q6tt1 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 warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry the checkout with 'git checkout -f HEAD'
有可能是由于仓库非常大,导致的克隆过程中断。解决:使用--depth参数进行浅克隆,只克隆最近的一次提交:
git clone github /haotian-liu/LLaVA.git --depth 1
gitclone的时候出现出现error由讯客互联手机栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“gitclone的时候出现出现error”
上一篇
3.jvm的执行流程