Undoing a commit
Wednesday 7, December 2011
When you need to change a message for the last commit, you can execute the following command:
$ git commit --amend
Then the message will be displayed on your favourite editor and you can change it. After this process the commit will be executed automatically.




