Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the development branch in BitBucket?

Tags:

bitbucket

How do I change the development branch for my BitBucket repository? Right now my master branch is labeled as both the main and the development branch.

enter image description here

This is a near duplicate of this question: How to change the main branch in BitBucket? however, I couldn't find anything telling me how to change the label for the development label and since it is different enough, I thought it warranted its own post for anyone in the future looking for this answer. (the top answer there is pretty clear so I copied the format he used)

like image 987
Jeremy Bailey Avatar asked Dec 11 '25 22:12

Jeremy Bailey


1 Answers

  1. Repositories

enter image description here

  1. Select repository
  2. Click Repository settings (bottom of menu)

enter image description here

  1. In the menu under WORKFLOW select Branching model

enter image description here

  1. Should see a screen that looks like this at the top

enter image description here

  1. Click the dropdown menu under Development branch and change it to Use specific branch. After that you should be able to click the dropdown menu next to it and change it to whatever branch you want

enter image description here

  1. Make sure to hit save at the bottom

enter image description here

  1. After saving it might take like 30 seconds but when you go back to your branches they should now have the DEVELOPMENT label changed to the branch you specified

enter image description here

I do not know how to do this from the terminal.

like image 73
Jeremy Bailey Avatar answered Dec 15 '25 06:12

Jeremy Bailey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!