Existe exatamente a mesma pergunta no SO .
You can use
git diff-tree
to achieve what you wantuse
-r
to recursively descend through subtree and--diff-filter
to restrict output to only certain types of diffs (for instance, deletions=D)
git diff-tree -r --diff-filter=D branchA branchB