Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Can I reverse a commit on a branch that is pushed to the remote repo, using SourceTree options

Hi All, 

I have pushed some incorrect commits to the test branch in bitbucket. I want to undo this fully.

In SourceTree If I check out the branch required, and use the "Reverse commit", and "Push" the changes to the remote repo branch. This creates another new commit.

I would like to avoid this, and completely force reverse to a certain commit in time in the past, and loose all the incorrect commits in this test branch.

Can I do this with sourcetree

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,131 views 5 13
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