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

15 s
15

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

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

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *