$ git commit --amend
Alterando a mensagem sem abrir o editor:
$ git commit --amend –m"nova mensagem"
Last updated 2 days ago