Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do we prevent auto merge to master Edited

We recently got rid of our develop branch in our repository, because we weren't using it for anything. We use release branches with version numbers in them, and we merge those to master when they're deployed. We use automatic merging so that when a pull request is merged to release/8.0.0 it will auto merge to release/9.0.0 etc. But, now that we don't have a develop branch, bitbucket wants to further auto-merge to master, but we don't want this.

Our branching model is currently configured with master as the default branch. The "development" branch setting is set to the default branch (so master). There isn't a setting to tell it we have no development branch (in reality it's whatever the latest release branch is but that changes frequently so we can't use that here). The production branch setting is set also to the default branch (master). We want to maintain the release branch auto-merging without auto-merging to master. Is there any way to accomplish this without having a static development branch?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,886 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you