editează ultimul mesaj de comitere
git commit --amend -m "New commit message."
modifică ultimul mesaj de comitere
$ git commit --amend -m "New and correct message"
git modifică ultimul mesaj de comitere
$ git commit --amend -m "New and correct message"
schimbați mesajul de la ultima comitere împinsă
git commit --amend
modifică comite
git commit --amend -m "an updated commit message"
git modifică mesajul de comitere
git commit --amend -m "New commit message for most recent commit"