Forums

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

Banch automatically merge with main branch

Ravi Kiran
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!
March 12, 2018

Hi All,

I tried to implement Bit-Bucket Pipelines for CI and CD, while I was testing on creating a branch, I found the branch automatically merge with the main branch.

How to disable auto- merging  and make the branch active, so that my team will push the code to same branch for whole sprint.

2 answers

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2018

If you were looking in the UI, then the branches will appear to be merged if there are no commit differences between them. Once you start making new commits to your branch you should see that they are in fact not merged.

As Ana mentioned, we currently do not have an auto-merge feature. So, you shouldn't need to worry about your branches being merged once you have some commit differences between them.

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2018

Hi Ravi! Auto merge is not available for Bitbucket Cloud, so it probably has to do with your Pipelines configuration. (If you'd like the Auto-merge feature to be available on Bitbucket Cloud, you can add your vote at Automatic branch merging for Bitbucket Cloud).

For more info regarding Pipelines and branches, I'd recommend you reading Running feature branches and Branch workflows.

We have another feature request that might interest you, you can share your use case and leave your vote at Auto-merge when pipeline passes.

Lastly, this other thread can also be of help Possibility to merge one branch to another with Bitbucket Pipelines.

Cheers,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events