git submodule

初始化子模块

git submodule update --init --recursive

子模块更新

git submodule update --remote --recursive
git submodule update --remote path/to/submodule

查看子模块状态

git submodule status