Show changes between two commits

suggest change
git diff 1234abc..6789def    # old   new

E.g.: Show the changes made in the last 3 commits:

git diff @~3..@    # HEAD -3   HEAD

Note: the two dots (..) is optional, but adds clarity.

This will show the textual difference between the commits, regardless of where they are in the tree.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents