2011년 9월 12일 월요일

today git use command

git remote -v: what remote ip and prject
git reset --soft HEAD~1 : commit 한후에 commit 바로 이전의 상태로 rollback
git add -i : add 한후에 revert가 주요 목적
git archive --format=tar HEAD|gzip > test.tar.gz
git merge --squash opros: merge시 opros의 commit을 하나의 commit으로 합친다.

댓글 없음: