Home Commit 수정
Post
Cancel

Commit 수정

가장 마지막 commit 수정

커밋 메세지에 오타를 입력했거나 issue 번호를 잘 못 입력해서 수정할 때 사용하면 된다.

1
$ git commit --amend -m "[ commit 명 ]"



이미 push 된 경우 commit msg 수정 후 아래와 같이 입력한다.

1
$ git push -f [브랜치 명]
This post is licensed under CC BY 4.0 by the author.