How can I merge a branch into another one - not the master?

In my Bitbucket repository I have clicked on branches, then clicked the 3 dots on the right of branch-B and click Merge. However when the new dialog box pops up, it says: 


Source: branch-B

Destination: master

Commit message: Merged branch-B into master


And doesn't allow me to change the destination. What I want to do instead is to merge branch-B to branch-A. How can I do this on Bitbucket?

2 answers

1 accepted

0 votes

Hi Lykourgos, you have to change the destination before you click on the Merge button. You can do that by clicking on Change destination:


Let us know if you have any questions!

Hope that helps,


Hi Ana, thank you for your reply and sorry for the late response.


I don't have this option available, see the screenshot attached. Is this option available on another page?


Nevermind I figured it out. I had to click on the branch name in order to show the option for switching the destination. Thank you anyway!

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

631 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot