git
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
git [2010/02/10 02:17] – suapapa | git [2013/08/03 05:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 32: | Line 32: | ||
git tag -l | git tag -l | ||
</ | </ | ||
- | 브랜치간 뛰기 (커널 예) | + | 리모트 |
< | < | ||
git checkout --track -b android-2.6.29 origin/ | git checkout --track -b android-2.6.29 origin/ | ||
</ | </ | ||
+ | svn revert와 같이 현재 한 작업 모두 -최종 rebase로- 초기화 | ||
+ | < | ||
+ | git reset --hard HEAD | ||
+ | </ | ||
+ | 충돌시 머지 | ||
+ | < | ||
+ | git mergetool | ||
+ | </ | ||
+ | |||
+ | 현재 저장소에 다른 브랜치를 추가! | ||
+ | <code bash> | ||
+ | $ git remote add suapapa git@github.com: | ||
+ | $ git pull suapapa | ||
+ | $ git branch -a | ||
+ | $ git branch --track suapapa suapapa/ | ||
+ | </ | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | 컬러 쉘 설정 | ||
+ | <code bash> | ||
+ | $ git config --global color.ui " | ||
+ | </ | ||
+ | |||
====== Conflict!! ====== | ====== Conflict!! ====== | ||
머지 도구 설정 | 머지 도구 설정 | ||
Line 41: | Line 65: | ||
$ git config merge.tool meld | $ git config merge.tool meld | ||
</ | </ | ||
+ | |||
+ | ===== github ===== | ||
+ | *[[http:// | ||
+ | |||
====== git-svn ====== | ====== git-svn ====== | ||
- | *[[http:// | + | ===== 우분투에서의 설치 |
- | 우분투에서의 설치 | + | |
<code bash> | <code bash> | ||
$ sudo apt-get install git-svn | $ sudo apt-get install git-svn | ||
Line 51: | Line 78: | ||
PATH=$PATH:/ | PATH=$PATH:/ | ||
</ | </ | ||
+ | ===== working cycle ===== | ||
+ | |||
+ | <code bash> | ||
+ | $ git-svn clone [svn_repo_addr] [to_dir] | ||
+ | </ | ||
+ | <code bash> | ||
+ | $ git checkout -b [specific_work_branch] | ||
+ | </ | ||
+ | <code bash> | ||
+ | $ git add -u | ||
+ | $ git commit -m "your log here" | ||
+ | </ | ||
+ | <code bash> | ||
+ | $ git branch master | ||
+ | $ git-svn rebase | ||
+ | $ git rebase [specific_work_branch] | ||
+ | $ git-svn dcommit | ||
+ | </ | ||
+ | ===== reference ===== | ||
+ | *[[http:// | ||
====== references ====== | ====== references ====== | ||
*[[http:// | *[[http:// |
git.1265768237.txt.gz · Last modified: 2013/08/03 05:04 (external edit)