Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Repo Details problem selecting Main Branch

Rob Gillan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 31, 2023

We are trying to migrate all our master branches to main.  Following:

https://confluence.atlassian.com/bbkb/how-to-rename-a-branch-from-master-to-main-using-local-git-commands-1189787463.html

When we go back to the bitbucket ux, Repository setings/details->advanced, the Main branch pulldown has master plus 9 other branches, but not main.  We have no way to select main.

The branching model has main selected for the development branch, no production branch.

Other repos we have done here all worked perfectly, just this one repo has 10 branches shown but not the main we wish to select.

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 4, 2023

Hi Rob!

I believe this occurs because the dropdown for the main branch shows only 10 branches maximum.

It is possible to find a branch other than the 10 displayed if you type the branch name. Simply select the dropdown of the Main branch in repo settings, and then type main. You should then see the branch named main and any other branches that may match this pattern.

Is this something that works for you?

Kind regards,
Theodora

Rob Gillan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2023

Thanks, that worked (wasn't immediately obvious), Cheers

Rob

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2023

That's good to hear, thank you for the update.

Please feel free to reach out if you ever need anything else!

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events