at the root of project repositroy, enter below:
$ vim .gitmodules
add the branch you want.
(not used to vim? press I key, modify doc, press esc, enter :+q)
[submodule "your-submodule-name"]
path = your-submodule-name
url = https://github.com/your-submodule-path
branch = feature/something <!-- add name of branch you want -->
then update the submodule.
$ git submodule update --remote
반응형
'프로그래밍' 카테고리의 다른 글
[토막팁] rds 엔드포인트, 어느 쪽을 써야 좋을까 (0) | 2020.11.09 |
---|---|
cert-manager 삽질기 : propagation check failed... returned REFUSED for _acme-challenge ... (0) | 2020.10.27 |
L2 / L4 / L7 로드 밸런싱 (0) | 2020.06.17 |
[단상] 5/18 단상 (0) | 2020.05.18 |
[토막팁] 알아두면 유용한 Goland 단축키 (0) | 2020.05.18 |