# How to Edit Commit Message in Sourcetree

> 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.

Canonical: https://livedemo.ai/tutorials/how-to-edit-commit-message-in-sourcetree/
Apps: Sourcetree
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a3c72ab56e05a00fe3ea0/preview?step=1

## Steps

1. Open Sourcetree and go to your repository.
2. Click the 'File Status' tab.
3. Check the box 'Amend latest commit', near the Commit button.
4. Edit the commit message in the message box.
5. Click 'Commit'.
6. Following these steps updates the most recent commit message without creating a new commit.
