In git there is a command git commit --amend
to edit your last commit message. I was looking for this type of functionality in pycharm and can\'t seem to find it. I
The PyCharm commit dialog includes an Amend commit option which lets you add in further changes to the previous commit, and edit the commit message while you're at it.
However I don't think there is a way to edit the previous commit message without making further file changes, because PyCharm will not let you commit if there are no file changes selected.
For the moment I just drop down to the console and execute git commit --amend
.