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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.