클론 시에 아래것들 까지 다 받으려면 아래와 같이 recurse-submodules를 주면되는데
| $ git clone --recurse-submodules https://github.com/chaconinc/MainProject |
[링크 : https://git-scm.com/book/ko/v2/Git-도구-서브모듈]
받고나서 서브모듈들을 받으려면 아래처럼 먼가 좀더 복잡해 진다.
| git submodule update --init --recursive |
[링크 : https://stackoverflow.com/questions/10168449/git-update-submodules-recursively]
[링크 : https://stackoverflow.com/questions/10168449/git-update-submodules-recursively]
'프로그램 사용 > Version Control' 카테고리의 다른 글
| git revert (0) | 2025.12.11 |
|---|---|
| .gitconfig insteadof (0) | 2025.12.09 |
| git master -> main branch (0) | 2025.05.22 |
| git local branch, merge master (0) | 2025.01.16 |
| git switch (0) | 2025.01.16 |
