Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


SourceTree - How to edit a commnt?

I want to edit a comment that was written with "commit" phase.

I know git allow to dothat, so how to do that on SourceTree?

5 answers

6 votes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 24, 2012
In the commit window, check the box at the bottom labelled 'Amend last commit'. You can change the message and also the content if you want, just make sure you haven't pushed the commit to anyone else yet.

So we cannot edit comments if its already pushed?

I understand there is possibility someone else would be using the pushed version, but what if its a private repository. No one expect I is using the repository. Can I edit the comments now?

In SourceTree version 3.2.6 (latest version as of Nov 21, 2019) the amend command is not "Amend Last Commit" but "Amend Latest Commit". So, it allows the user to change the most recent commit text.

There should be a way to change any previous commit text. Also, if we select the command by mistake how do we cancel it?

I have been scratching my head trying to figure out where to find the commit options! To save other folks time here are afew extra screenshots:







I am using sourceTree for windows version


Just want to give more clarity to this old question (laugh) with these simple pictures, although this are only for last commit


1. Make sure you're on working copy

Screen Shot 2015-03-31 at 8.07.34 AM.png


2. You will find “Ammend last commit” by clicking “Commit options” at bottom right

Screen Shot 2015-03-31 at 8.11.05 AM.png


Hey Priscilla, had the same question today. The Commit Window is simply the window that pops open when you click on "Commit" ( top left). Hope that helped!

Hi Steve, I'm really new to SourceTree/web development...I'm not sure what the commit window is or how to navigate there. Could you walk me through it? Thanks

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events