git clone含有子模块的项目

方法一

适用于已经clone到本地的项目
执行: git submodule init git submodule update

方法二

在执行 git clone 时加上 --recursive 参数
执行:git clone --recursive https://github.com/example/example.git

posted @ 2024-11-28 18:42  IAMM!  阅读(65)  评论(0)    收藏  举报