blob: a1e270ffb68abaad9327b11784520e8613985529 (
plain)
1
2
3
4
5
6
7
8
|
[[Git]]
---
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
|