주 메뉴 열기

wwiki β

바뀜

Git

147 바이트 추가됨, 2022년 3월 1일 (화) 11:07
서브모듈 수정
</syntaxhighlight>
=== 서브모듈 수정 서브모듈의 버전 관리 ===
master로 checkout하지 않고 서브모듈을 수정했다면 변경사항을 commit하고 다음 명령으로 변경사항을 유지한 채 새 브랜치를 생성한다.
$ git branch <new-branch-name> f496c73
$ git merge temp
</syntaxhighlight>임시 브랜치를 삭제하려면 git [[Git#branch|branch]]명령을 사용할 수 있다.
 
=== deinit ===
$ git submodule deinit [모듈]
.git/modules와 소스폴더 삭제
$ rm -rf .git/modules/[모듈]
 
$ rm -rf [모듈]
== Git Hooks ==
편집
2,431