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 vote

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

merge.png 

Let us know if you have any questions!

Hope that helps,

Ana

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?

merge.jpg

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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...

2,047 views 1 5
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