[git] git 간편안내서

etc 2013. 9. 19. 10:47



http://rogerdudler.github.io/git-guide/index.ko.html

Posted by tenn
,


git checkout [branch] [file]


하면 파일 하나만 가져온다.


git reset HEAD [file]





Posted by tenn
,




git revert [commit 명]


이전의 커밋으로 되돌림.

이력이 남음.


(이력이 남지 않는 것은 git reset)



http://en.sourceforge.jp/magazine/09/03/16/0831212/3

Posted by tenn
,