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

Need to replace the old commit message with the new one

wrote the weird commit message has been pushed to repo

Now dealing with the pain in the a** to undo the same.

Is there anyway to do it ?


Really appreciate your effort.

2 answers

1 accepted

0 votes
Answer accepted
Ana Retamal Atlassian Team Jun 19, 2017

Hi Ashwin! In SourceTree you can go to "File status", click on the commit message at the bottom and then on "Ammend last commit" (see screenshot). Note that the location of this menu varies slightly depending on whether you use Mac or Windows.

Screen Shot 2017-06-19 at 15.56.22.png

Alternatively, you can also do it via the command line. You can read Git's official documentation for more information Git commit.

Hope this helps!


Is there a way to do this for commits that have already pushed?

Suggest an answer

Log in or Sign up to answer
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...

4,935 views 0 12
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