개발
[개발] git submodule update
가을기_
2021. 6. 2. 14:50
서브모듈이 있는 repo라면 아래 커맨드를 통해 모든 서브모듈을 불러올 수 있다.
git submodule update --init --recursive
맨 처음 init할때는 동작할텐데 이후 동작은 안될 것이다.
업데이트하려면
git submodule update --recursive --remote
아래 커맨드가 더 간단해서 좋다.
git pull --recurse-submodules