Git_clone_include_submodule

git clone 指定分支,并 register and update submodules

If your submodule was added in a branch be sure to include it in your clone command…

1
git clone -b <branch_name> --recursive <remote> <directory>

If --recursive is specified, this command will recurse into the registered submodules, and update any nested submodules within.


参考: How to `git clone` including submodules?

-------------本文结束感谢您的阅读-------------
如果我的文章让你有收获,请支持一下!
0%