manywaypark's Blog
개발, 검색, 함수

'submodule'에 해당되는 글 2건

  1. 2013.11.21 git submodule foreach
  2. 2013.11.17 svn rep를 git의 submodule로 쓰기

git submodule foreach

tips & tricks 2013. 11. 21. 23:29 by manywaypark

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'

svn rep를 git의 submodule로 쓰기

tips & tricks 2013. 11. 17. 00:22 by manywaypark

git의 submodule로 svn 저장소를 쓸 수 있을까?

갑자기 궁금해져서 검색해봤다.

결론은  "쓸 수 없다"이다.


하지만 이전글에서도 잠시 언급했듯이, svn repo를 git repo로 변경후에 submodule로 지정하면 동일한 효과를 볼 수 있다.


ref: http://stackoverflow.com/questions/465042/is-it-possible-to-have-a-subversion-repository-as-a-git-submodule


happy hackin'



1 
분류 전체보기 (306)
잡담 (20)
함수형 언어 (65)
emacs (16)
java (18)
tips & tricks (154)
사랑 (1)
가사 (0)
독서 (4)
mobile (6)
비함수형 언어 (2)

공지사항

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

04-27 09:12