While testing Merge Queues in one of my repos, Bitbucket created an internal branch named bitbucket-merge-queue-204. I'm no longer using merge queues there, but the branch is still around and I can't get rid of it.
When I try to delete it from the UI I get:
No further detail in the error.
I've tried:
- Deleting it from the Branches view in the UI.
- Deleted the queue from settings
This is Bitbucket Cloud. Thanks.
I contacted Support and they deleted the branch.
Hello, @amcroce
First, try forcing the deletion via the Git CLI:
git fetch --all --prune
git push origin --delete bitbucket-merge-queue-204
If that fails, verify that no branch restrictions or open pull requests are blocking it. You can also attempt a deletion via the Bitbucket REST API, passing just the branch name without the refs/heads/ prefix.
If both methods fail, it is likely a leftover cleanup glitch from the deleted queue. Contact Bitbucket Support with your repository URL and the Git error message so they can clear the protected ref.
Best,
Arkadiusz🤠
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.