How to see the changes between two commits without commits in-between?

diff, git

Solution

you can simply pass the 2 commits to git diff like :

-> git diff 0da94be  59ff30c > my.patch
-> git apply my.patch

Problem

How do you make `git diff` only show the difference between two commits, excluding the other commits in-between?

Original source