How do you change the [main branch] of a repository in the current version of bitbucket.org
On the Repository settings screen (found in the lower left of the sidebar), you will find a drop down labled "Main branch". From there you can select any currently available branch from the list.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.