Populate nested submodule content.
Section: Worktrees, Submodules, and Sparse Checkout
Init and update submodules
bash
bash
git submodule update --init --recursiveLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Worktrees, Submodules, and Sparse Checkout