libs文件太大clone不下来怎么办

转载:git 仓库过大,clone不下来的解决办法

先浅层clone

$ git clone --depth=1 http://xxx.git

浅层clone成功后,再完整拉取:

$ git fetch --unshallow # 拉取完整当前分支
$ git remote set-branches origin '*' # 追踪所有远程分支
$ git fetch -v # 拉取所有远程分支
posted @ 2021-05-08 15:09  流星曳尾  阅读(46)  评论(0编辑  收藏  举报