The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to add repository specific merge strategy

Henri Kivinen
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!
February 5, 2019

Adding following lines to config-file in repository folder

[merge "ours"]
driver = true

Does not seem to have any effect. The files that have in .gitattributes merge strategy set as "ours" are still causing merge conflicts if edited on 'both sides' of the merge.

When manually creating a repository and adding the lines to .git/config it seems to work fine.

 

 

 

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 18, 2019

Hi Henri

Have you tried setting the merge strategies on Bitbucket directly, as explained at Pull request merge strategies?

Is there any reason why you prefer to apply them locally?

Let us know!

Ana

TAGS
AUG Leaders

Atlassian Community Events