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.
Cool!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
still no graphic update for this feature on windows !!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.