Git 拉取 Submodule 工程
-
首次克隆仓库及其模块,使用:
git clone --recursive 仓库地址
-
对于仓库首次拉取模块,可以使用:
git submodule update --init --recursive
-
更新子模块:
git submodule update --recursive --remote
首次克隆仓库及其模块,使用:git clone --recursive 仓库地址
对于仓库首次拉取模块,可以使用: git submodule update --init --recursive
更新子模块:git submodule update --recursive --remote