I'm doing a rebase where I would like to always take the conflicting files as-is from the branch A.
on branch A
git rebase -X theirs branchQ
( According to Is there a "theirs" version of "git merge -s ours"? and Choose Git merge strategy for specific files ("ours", "mine", "theirs") : "theirs" should mean "use the versions from A". In rebase the meaning of theirs and ours are reversed with respect to a merge )
But, I still get conflicts for files that were modified and deleted. I would like to go with the contents for A all the time.
git status
Unmerged paths:
(use "git reset HEAD <file>..." to unstage)
(use "git add/rm <file>..." as appropriate to mark resolution)
deleted by them: A/XB.cs
deleted by them: A/YB.cs
deleted by them: B/XD.cs
deleted by them: B/YD.cs
and MANY more.
I can fix this by git rm A/XB.cs
etc, but how can I accept all these deletions (and all other changes from branch A)?
(It's a 28 stage rebase, so I'm looking for automation)
With respect to the common parent of branches A and branchQ, branchQ contains only line-ending normalizations, not new or deleted files.