Skip to main content

Command Palette

Search for a command to run...

Git: Submodule Init and Update

Updated
1 min read
Git: Submodule Init and Update

For a repository with submodules all the submodules can be pulled down locally for the first time using:

git submodule update --init --recursive

Subsequently, submodules can be updated with remote changes using:

git submodule update --recursive --remote