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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,584 views 26 12
Join discussion

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