Let's say I have a git repository with two or more branches. In branch a I deleted some files:
Branch B (branched off branch A):
git rm fileA.txt
git rm fileB.txt
Now we made a lot of changes in branch A. Some of these changes were done in fileA.txt and/or fileB.txt. We have to merge branch A into branch B because we need all changes. Now I got conflict with fileA.txt and/or fileB.txt:
CONFLICT (modify/delete): fileA.txt ...
This ist normal git behaviour. But I don't want that on every merge form branch A into branch B I get these conflicts. It should automaticly accept the deletion of these files.
How can this be done?
Regards, Sascha