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

问题

bash 复制代码
  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项目,发现由于项目太大而拉不下来,没办法。

解决方案

bash 复制代码
git clone --depth 1 git@gitlabxxxxx 

就可以,

相关推荐
mmsx11 小时前
使用git生成ssh的ed25519密钥
运维·git·ssh
荔枝吻11 小时前
【保姆级喂饭教程】Git图形化客户端Sourcetree安装及使用教程
git·sourcetree
T - mars18 小时前
Git在Pycharm中的使用
git
sunarmy18 小时前
curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104
git
典学长编程20 小时前
高效学习之一篇搞定分布式管理系统Git !
大数据·git·搜索引擎
是2的10次方啊20 小时前
.gitignore失效自救指南:原理揭秘与工程师实战排查全流程
git
海外空间恒创科技20 小时前
香港站群服务器与普通香港服务器对比
服务器·git·github
Wetoria1 天前
管理 git 分支时,用 merge 还是 rebase?
前端·git
泰勒朗斯2 天前
如何在新机器上设置github完成内容git push
git·github
小妖6662 天前
git branch -a 还有一些已经删除了的分支
git