Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

bitbucket how to revert a commit?

bitbucket how to revert a commit? 

is there any button on bitbucket web application. I avoid using git commands.

4 answers

This has > 1k views so I'm going to necro this topic and say that this is actually a *bad* idea.  If you want to revert a commit via the web UI, how are you going to test to make sure that the revert doesn't break anything?

The only two options there seem to be:

  • test locally
  • do everything via the web UI, including running the tests - this would require the implementation of something like GitHub's codespaces

If you're going to test locally, then you may as well just do the revert locally as well.  This can include using a UI for Git locally if you really want to avoid typing `git` in the terminal.

This only really applies to doing reverts for arbitrary commits.  If you want to revert a PR, you are already able to do this via the Bitbucket UI.

I would look at the help for the plugin as there might be something there. If not, I believe you will need to use the git revert command to back out the last commit.


I used eclipse Ide with git plugin to commit the code .

What tool did you use to issue the commit?

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,239 views 2 9
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