푸시 후 커밋 메시지 수정
$ git commit --amend -m "New and correct message"
푸시 후 커밋 메시지를 변경하는 방법
git commit --amend -m "New commit message"
Then
git push --force
and you're done
푸시 후 커밋 메시지 변경
git push --force-with-lease <repository> <branch>
푸시 후 커밋 메시지 변경
git push --force <repository> <branch>