반응형
git reset HEAD^
: 가장 최근 commit 한개 삭제
git reset HEAD^^
: 가장 최근 commit 두개 삭제
git push --force
: 강제 푸쉬
git merge --abort
: 머징상태 강제 취소
머지 전상태로 돌아감
git commit --amend -m "수정할 메세지"
:가장 최근 commit 메세지 수정
반응형
git reset HEAD^
: 가장 최근 commit 한개 삭제
git reset HEAD^^
: 가장 최근 commit 두개 삭제
git push --force
: 강제 푸쉬
git merge --abort
: 머징상태 강제 취소
머지 전상태로 돌아감
git commit --amend -m "수정할 메세지"
:가장 최근 commit 메세지 수정