[첫화면으로]Git/서브프로젝트

마지막으로 [b]

변경사항 (가장 최근의 "일반적인 수정"부터) (다른 변경사항 없음)

-7,13 +7,14
* [http://jayunit100.blogspot.kr/2013/12/git-submodules-are-to-hot-subtrees-are.html Git: Submodules are to hot. Subtrees are to cold. Just use fetch ?]
* [http://codingkilledthecat.wordpress.com/2012/04/28/why-your-company-shouldnt-use-git-submodules/ Why your company shouldn’t use Git submodules | Coding Killed the Cat]
* [http://stackoverflow.com/questions/12668711/git-using-subtree-or-submodule-to-manage-external-resources Git using subtree or submodule to manage external resources - Stack Overflow]
* [http://stackoverflow.com/questions/9189575/git-submodule-tracking-latest/9189815#9189815 git submodule tracking latest - Stack Overflow]
* [http://stackoverflow.com/questions/1777854/git-submodules-specify-a-branch-tag/18799234#18799234 Git submodules: Specify a branch/tag - Stack Overflow]
요즘 다시 이게 필요해져서 더 뒤져보니... 아무래도 submodule을 쓰는 건 단점이 많고 subtree 나 다른 툴을 쓰는 것이 선호되는 듯?
* [http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/ Alternatives To Git Submodule: Git Subtree - Atlassian Blogs]
* [http://readme.skplanet.com/?p=8542 git subtree를 사용하여 재사용할 코드 독립 시키기 | README]
submodule의 단점으로 거론되는 것 중 대표적인 것이 서브모듈은 특정 커밋을 가리키고 있는 상태라서 업데이트할 때 신경쓸 게 많아진다는 것인데, 그나마 특정 커밋이 아니라 특정 브랜치를 가리키는 상태로 서브모듈을 구성할 수 있는 기능이 git 버전 업이 되면서 나오긴 했나보다.
* [http://stackoverflow.com/questions/9189575/git-submodule-tracking-latest/9189815#9189815 git submodule tracking latest - Stack Overflow]
<div class="comments">
<longcomments(100)>


Git에서 하나의 프로젝트 안에 다른 프로젝트 저장소가 포함된 경우를 다룰려고 하는데, 은근히 까다로운 것 같다.

일단 북마크 해두는 링크들:

요즘 다시 이게 필요해져서 더 뒤져보니... 아무래도 submodule을 쓰는 건 단점이 많고 subtree 나 다른 툴을 쓰는 것이 선호되는 듯?

submodule의 단점으로 거론되는 것 중 대표적인 것이 서브모듈은 특정 커밋을 가리키고 있는 상태라서 업데이트할 때 신경쓸 게 많아진다는 것인데, 그나마 특정 커밋이 아니라 특정 브랜치를 가리키는 상태로 서브모듈을 구성할 수 있는 기능이 git 버전 업이 되면서 나오긴 했나보다.

이름:  
Homepage:
내용:
 

컴퓨터분류

마지막 편집일: 2015-1-5 10:41 am (변경사항 [d])
2230 hits | Permalink | 변경내역 보기 [h] | 페이지 소스 보기