Git Snippet: Submodules

From Coder Merlin
Revision as of 19:55, 14 March 2020 by Chukwuemeka-tinashe (talk | contribs) (Created page with "== Git Submodules == Ensure submodule is pointing to correct branch: <syntaxhighlight lang="bash"> git config -f .gitmodules submodule.<submodule-path>.branch <branch> </synt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>