git diff --stat <commit-1> <commit-2>
For example, to show differences in the most recent commit:
git diff --stat HEAD^ HEAD
git diff --stat <commit-1> <commit-2>
For example, to show differences in the most recent commit:
git diff --stat HEAD^ HEAD