Saturday, 30 June 2018

changing the last commit message without committing newest changes

git commit --amend -m 'Your new message.'

source: https://stackoverflow.com/questions/11286362/changing-the-last-commit-message-without-committing-newest-changes