You can't delete a branch from Bitbucket if that branch is set as the Main Branch. You need to go into the Admin section of your Bitbucket repository and select a different branch for the Main Branch. You should then be able to remove the branch using:
git push <repository> :<branch>
Thanks
Turner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.