【Git】git clone --depth 1 浅克隆

问题

  PycharmProjects git clone git@
Cloning into 'risk-package'...
remote: Counting objects: 576, done.
error: pack-objects died of signal 947/574)   
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

在公司拉一个比较大的git项目,发现由于项目太大而拉不下来,没办法。

解决方案

git clone --depth 1 git@gitlabxxxxx 

就可以,

你可能感兴趣的:(#,编程工具,git)