简体   繁体   中英

How do I checkout all submodules and sub-submodules?

We have a git repository, with submodules. Inside one of the submodules is another submodule.

When we download the repository with git --recurse-submodules, it doesnt checkout the sub-submodules.

How do you achieve this?

Thanks

Run this command and it will recursively clone all submodules and nested submodules. git submodule update --init --recursive

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM