更新仓库的同时更新子模块
克隆仓库并下载子模块
git clone --recursive <仓库URL>git clone --recursive https://github.com/example/repo.git如果已经克隆仓库并且没有下载子模块
git submodule initgit submodule updategit submodule update --init --recursive
总结
Last updated