Git Snippet: Submodules

From Coder Merlin
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder


Git Submodules[edit]

Ensure submodule is pointing to correct branch:

git config -f .gitmodules submodule.<submodule-path>.branch <branch>