How do I delete a remote master branch from GitHub/Bitbucket?
I\'m trying:
# git push bb --delete master
remote: bb/acl: user is allowed. accepted payl
Note: for Bitbucket, you would change the default branch by accessing the settings of your repository, and changing the branch at the "Main branch" combo box.

Once the main branch is no longer master, then you can push and remove master.
In the settings block on the options tap in the settings page (well, just click on the Settings tab on your GitHub repository page), you are able to change the default branch (you need to have the other default branch on GitHub as well).

After you have done that, you are able to remove it:
$ git push bb :master