Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Bitbucket Merge strategies by destination branch.

markgillespien
Contributor
August 9, 2018

For development work, we favor squashing commits when merging to out develop, however we want to prevent squash when merging from develop to master.  (as squashes of squashes are a REALLY bad idea, and it's caught us out).

 

Is there a way where we can prevent squashing to a specific branch and only allow merge commits?

1 answer

0 votes
Isabella Stephens
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 10, 2018

Hi Mark,

Bitbucket Server does not currently allow merge strategies to be configured at a branch level. We have a feature request open for this here. I suggest you vote for the issue, and leave a comment explaining your use case.

Cheers,

Isabella - Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events