Forums

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

Pushing to a branch is automatically merging to master

Eddie Lovelace
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2017

Two people on my team today have pushed branches to origin (on the BitBucket server) and ended up with unrequested merges to the master branch. It's like our repo is broken or something. Has anyone else ever encountered this behavior?

3 answers

0 votes
Mikael Sandberg
Community Champion
September 25, 2017

Go to Repository settings > Branching model, the check box for automatic merge should be at the bottom.

0 votes
Eddie Lovelace
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2017

Hey Mikael. Where is that setting? I think I remember where it used to be, but I don't see branching strategies on the settings menu anymore.

0 votes
Mikael Sandberg
Community Champion
September 25, 2017

Check and see if you have enabled automatic merging in the repository. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events