When merging my branch, there are lots of those Modify/Delete conflicts. Too many to resolve manually.
When I do the
yes d | git mergetool
as described here: How do I fix a merge conflict due to removal of a file in a branch?, I can delete every file.
But I want to use whatever {remote} has, not just blindly delete. So if {remote} deleted the file, delete it. But if {local} deleted it and {remote} modified it, restore it.
How do I do this?