git clone --recurse-submodules [url]

添加submodule

git submodule add [url] [path]

更新submodule

git submodule update --init --recursive

相关文章: