git에서 모든 submodule에대해 무언가 작업을하고 싶다면 foreach를 활용하면 간단히 해결된다.
모든 서브모듈들을 pull하고 싶다면 아래와 같이 하면 된다.
git submodule foreach git pull origin master
ref: http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules
happy hackin'
git에서 모든 submodule에대해 무언가 작업을하고 싶다면 foreach를 활용하면 간단히 해결된다.
모든 서브모듈들을 pull하고 싶다면 아래와 같이 하면 된다.
git submodule foreach git pull origin master
ref: http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules
happy hackin'
git의 submodule로 svn 저장소를 쓸 수 있을까?
갑자기 궁금해져서 검색해봤다.
결론은 "쓸 수 없다"이다.
하지만 이전글에서도 잠시 언급했듯이, svn repo를 git repo로 변경후에 submodule로 지정하면 동일한 효과를 볼 수 있다.
happy hackin'