git show --stat HEAD

Category: Git - Core

git show --stat HEAD

Summarize the latest commit's changes

Shows the newest commit with a file-by-file diffstat instead of the full patch. Add --name-only to get just the file list. It is a quick way to judge the size and shape of the last change.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.