I'd like to use a particular merge option ('ours') for the recursive strategy when pulling from a particular remote repository, but not others.
I know about git config branch.<name>.mergeoptions "-Xours"
, but that's per-branch rather than per-remote repository.
The use case, if it's helpful: I am making a project template that I would like to be able to clone when starting a new project. After working on the project for a while, I'd like to be able to merge in any non-breaking changes from the template with the assumption that conflicts should default to the project and not the template.
Any help in accomplishing this would be great.