In order to set a default strategy for a file(s) in git merge you need to:
Enable the ours
merge driver
- for current repository
1
|
|
- globally
1
|
|
Tell git to use the merge strategy for a file
1
|
|
As a result the next pull with conflicts will automagically use ours version.
Just remember that the file will not longer be marked as merge conflict.