You can use git merge --no-commit and delete the configuration files before doing the merge. However, there may be more optimized features.
However, I would recommend either having files in both branches, or not having them at all. What language and development environment do you use? They provide some ability to specify different files depending on what kind of assembly you are trying to do?
Aasmund eldhuset
source share