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

How do i come back to a previous commit and my bitbucket repo must also be reset.

Devansh Khanwalkar Feb 25, 2015

as you can see from screen shot i went ahead of a commit and then wanted to come back to commit saying "website loading balls added". i reversed commit and then it turned pink. saying master 1 behind.

however when i go to my bitbucket repo the changes were not seen they were in this commit..


i want the above commit saying "footer icons added" to be deleted and my origin/master to come on "website loaing balls added". there should be nothing above it.

please help!.

also i want that bitbucket repo should reflect all files that were/wern't in this commit.


2 answers

0 votes
Devansh Khanwalkar Feb 25, 2015

to explain last line.. for example if i had an image in the "website loading balls added" commit it shoult be added back to the repo when i come back to this

0 votes
Seth Feb 26, 2015

What you are requesting to do is a dangerous operation, so SourceTree doesn't provide the UI to do it in exactly the way you described. Commands for what you are attempting can be found here:

As explained in the answers, if ANYONE has pulled the "footer icon added" commit that you pushed to origin, you are better off reverting the commit instead of resetting to a previous one. This can be done in SourceTree by right-clicking the bad commit, and choosing "Reverse commit...".

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 Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,217 views 1 22
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