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

This widget could not be displayed.

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!

This widget could not be displayed.

 

 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,310 views 8 11
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