How to make git diff show the same result as github's pull request diff?
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?