I want to use merge=ours
for a specific file. So I added this to .gitattributes
file:
.eslintcache merge=ours
But as stated here, I have to run git config --global merge.ours.driver true
. But I want this to be enabled for all contributors in the repo.
Also, I don't understand why the page calls it "a dummy ours merge strategy"! while in this page it seems to be a predefined strategy. Shouldn't it just work without adding this config?