Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 518
ArmadilloChubbz65 Avatar asked Nov 14 '25 19:11

ArmadilloChubbz65


1 Answers

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

like image 168
user6346643 Avatar answered Nov 17 '25 12:11

user6346643



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!