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?
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To add one maybe-important fact: I am not the owner of the project or the repository. Does this make a difference?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.