How do you set the default merge strategy?

https://confluence.atlassian.com/bitbucketserver/pull-request-merge-strategies-844499235.html

To configure merge strategies for a repository
:

  1. In repository settings, select Pull requests.


If I go to my settings page, https://bitbucket.org/{repo}/admin


I do not see a Pull Requests section. I do see a Pull Requests section under navigation, but that just lists open pull requests.

2 answers

1 accepted

1 votes

You're looking at documentation for the self-hosted version of Bitbucket (known as Bitbucket Server). At the moment, there's no option for a default merge strategy in Bitbucket Cloud (bitbucket.org).

Have a look at https://confluence.atlassian.com/bitbucket/work-with-pull-requests-223220593.html#Workwithpullrequests-Mergestrategies for the right set of documentation.

5 votes

Hi Mike,

That documentation is for Bitbucket Server, which supports the default merge strategy feature.

Bitbucket Cloud is a separate product with a slightly different featureset. A default merge strategy is not yet available, but since we just released squash-on-merge, it's something we want to add to cloud soon.

Alastair

Hi Alastair,

Any news on this topic? We always squash our branches when merging but developer dicipline is hard to obtain unless enforced so this feature would be much appreciated :)

+1

A default merge strategy would help a lot!

+1 

same as previous guys - any plans to implement default strategies in cloud?

Desperate for this. +1

Please implement.  This is a great feature to have.

 

+1!

+1  Is there a ticket tracking this feature request? 

+1

 

Please make the default strategy available for clouds too.

 

Thanks.

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

640 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