Skip to content

Working with submodules

nshCore edited this page Nov 15, 2019 · 1 revision
  • When switching branches it's good to update the submodules to match the correct pining for that branch/commit git doesn't always do this properly when switching between branches that have submodules pinned at different commits.

Run this command to reinitialise the submodules for that commit

git submodule update --init --recursive

Clone this wiki locally