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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章