Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I revert a merge commit using the web interface?

Jonathon Woolf
January 27, 2026

This morning I merged a development branch into my staging branch, and it appears to have broken the staging branch to the point where it won't run on my staging server.  I want to completely revert that merge, and restore the staging branch to where it was yesterday.  No other merges or commits have been made to the staging branch since the bad one.   

I've tried reverting the merge commit locally from inside Visual Studio Code, but it doesn't seem to be doing anything.  Documentation seems to say that I can revert the staging branch using the Bitbucket web interface, but I can't figure out how.   

How do I revert this merge commit, so that I can get my staging version working again?  

2 answers

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2026

Hi @Jonathon Woolf

Could you confirm how you did the merge? Is it through a pull request?

If yes, you can revert the merged PR on the UI, if the merge was done directly to the branch locally, you'll need to do the revert locally.

Regards,
Mark C

Jonathon Woolf
January 29, 2026

I used the merge function in the web portal's UI: go to the specific repository, then Branches, click the work branch, compare it to the main branch, then select "Merge" from the three-dot menu above.  Is that a "pull request"?  

 

Thanks,

-- Jon W.

0 votes
Jonathon Woolf
January 27, 2026

To add one maybe-important fact: I am not the owner of the project or the repository.  Does this make a difference?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events