Git: git clone --recursive不完整解决方案

对于网络差这个问题, 真的LZ无力吐槽了,遇到类似early EOF之类的问题怎么解决呢?

Cloning into 'src/3rdParty/eigen'...
remote: Enumerating objects: 105028, done.
remote: Counting objects: 100% (105028/105028), done.
remote: Compressing objects: 100% (20125/20125), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://gitlab.com/libeigen/eigen.git' into submodule path 'src/3rdParty/eigen' failed
Failed to recurse into submodule path 'cmake/external/FeaturizersLibrary'

cd 到 git clone的主目录下,执行下述命令即可。

git submodule update --init --recursive

参考地址:

https://blog.csdn.net/qq_16587307/article/details/103664454

你可能感兴趣的:(软件使用及安装)