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>

CoderMerlin™ proudly recommends:

Your purchase via these links helps keep  Coder Merlin™ 's orbuculum ablaze. As an Amazon Associate we earn from qualifying purchases. Thank you for your support!

Designed with pride in Silicon Valley, CA, USA