It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Amend last commit message?

Liam Jones May 07, 2012

I messed up a commit message and and noticed before I pushed my local repo changes out so I wanted to edit the message. I couldn't find anywhere obvious to do this within SourceTree.

I just did it via the git command in the end (git commit --amend -m "correct message").

Did I miss the ability to do this in the SourceTree interface or is it simply not there?

1 answer

1 accepted

30 votes
Answer accepted
Steve Streeting May 07, 2012

It's there, at the bottom left of the commit window, 'Amend latest commit' checkbox).

Liam Jones May 07, 2012

Ah! Thanks Steve. :) Stupidly, I didn't think of looking in the commit window - I was looking for something off of the newest log item's right click menu.

Stanley Kurdziel Apr 09, 2015

In version 2.0.5.2 on Mac, the option is now at the top right of the commit section. "Amend last commit" is the first option in the "Commit options..." dropdown.

Tommy Kye Dec 11, 2018

Cool!

Rey Bruno Jan 10, 2019

Thanks! 

Marie Toulouse I'm New Here Mar 04, 2019

still no graphic update for this feature on windows !!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

469 views 0 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you