The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
It's there, at the bottom left of the commit window, 'Amend latest commit' checkbox).
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this...
I have to keep coming back to this answer because the location of that option is not really intuitive to me...
I think it would better to have this option in the context sensitive menu which gets launched when right-clicking the selected check-in in the history view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I totally am unable to follow the "Ammend latest commit" flow.
I agree with Bill OLeory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes It worked for me in Mac
Select Commit -> It will open commit window -> Center Right -> Commit options -> Amend last commit
Thanks Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got it working after a couple of tries, but this is rubbish. I even had to find out again, while reading my own description, which I improved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.