blob: fe761e295ee62f53e393b19dd9063690abc61b93 (
plain)
1
2
3
4
|
To add another repo as a submodule: `git submodule add`
To point the submodule to a specific branch: `git submodule set-branch -b <branch> submodule-path`.
It's important to pass `--remote` to `git submodule update` to make sure it tracks the branch specified.e
|