How to Edit Commit Message in Sourcetree
- George Apostolov
How to Edit Commit Message in Sourcetree: step-by-step guide
Open Sourcetree and go to your repository.
Click the 'File Status' tab.
Check the box 'Amend latest commit', near the Commit button.
Edit the commit message in the message box.
Click 'Commit'.
Following these steps updates the most recent commit message without creating a new commit.
Quick answer: To update the most recent commit message without creating a new commit in Sourcetree, open your repository, click the File Status tab, and check the Amend latest commit box near the Commit button. Next, edit your message in the message box and click Commit.
About this Sourcetree tutorial
Easily modify your latest commit message in Sourcetree by checking the amend option in the File Status tab and saving your changes. This guide shows how to edit Commit Message in Sourcetree in 6 steps, starting with "Open Sourcetree and go to your repository" and finishing with "Following these steps updates the most recent commit message without creating a new commit". The interactive demo above is a click-through copy of the real Sourcetree interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to edit Commit Message in Sourcetree?
6 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your Sourcetree data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under Sourcetree. Related guides: How to Force Push in Sourcetree, How to Log In Sourcetree and How to Log out of Sourcetree. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





