Help! I need to recover a branch. I've been using git
with the Bitbucket UI to try and simplify things, but missed a checked checkbox...
What I did:
I created a pull request and merged my feature
branch into the dev
branch, closing the feature
branch (desired outcome).
I then created a pull request and merged my dev
branch into the staging
branch (desired), but I missed that the checkbox was still marked to "close branch on merge", which happened (not desired).
What I want:
I would like to roll back the merge so that I have a dev
branch with the feature
branch merged into it (with all its commit history, etc). I don't care if the staging
branch is dev
-branch-less, or not, I don't mind creating the pull request and merging them correctly again if necessary. Is it possible to recover the dev branch with its history now that it has been closed?