edit commit comments in sourcetree after pressing commit

Just want to give more clarity to this old question with these simple pictures, although this is for the latest commit only (updated for SourceTree 2.5.2).

  1. Under 'Workspace', select 'File Status':

File Status

  1. Click the commit message box to expand it, then you will find 'Amend last commit' by clicking 'Commit options' at the bottom right:

Commit Message and Amend Last Commit


You can do this before pushing. There is a checkbox at the bottom left of the Commit dialog which says "Amend latest commit", when you check it the previous message will appear in the box and you can edit it, then hit Commit to modify it.