$ git config merge.ours.driver true
or even
$ git config --global merge.ours.driver true
‘ours’ isn’t one of the built-in merge drivers even though it’s perfectly clear to you and me what it should do, and it seems git doesn’t error out when a custom merge driver is undefined.
(true
above is just the unix true
command, its success says it made the local version look right, in this case by doing nothing to it.)