#git-commit #git-amend

I would go with the --amend command, just remember that you then need to force that push (-f). So if someone already pulled your old commit they would have to rebase their work onto your new commit, but if you are only changing the message it's really not a problem but good to keep in mind.

Subscribe to #git-commit #git-amend