You probably want the “triple-dot” syntax:
git diff D...H
See also What are the differences between double-dot “..” and triple-dot “…” in Git diff commit ranges?
You probably want the “triple-dot” syntax:
git diff D...H
See also What are the differences between double-dot “..” and triple-dot “…” in Git diff commit ranges?