is added in master
2. I created a branch based on master and develop there never touching the file
3. File is deleted in master
4. I do git merge -X theirs master
Git ignores the fact that file was deleted in master and adds it again. WTF? What do I do here?
What exactly are you doing in step 4? That sounds a bit strange.
-X theirs is an option to recursive merge strategy which makes git prefer the version from master when resolving conflicts.
Обсуждают сегодня