Git Snippet: Submodules

From Coder Merlin
Jump to navigation Jump to search

Git Submodules[edit]

Ensure submodule is pointing to correct branch:

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


Designed with pride in Silicon Valley, CA, USA