2011년 5월 19일 목요일

git command

git reset --hard HEAD~1 : HEAD commit 취소
git reset --hard HEAD~2 : HEAD~2 번째까지 commit 취소

git cherry-pick -n commit_hash

commit을 현재의 브랜치의 index에 놓는다.
git push --tags : 원격의 tag들 모두 가져온다.

댓글 없음: