Show the files changed in a git commit
git log
command by itself is good enough to the commit hash and see the commit message, sometimes it helps to see which files were modfied as part of a commit. You can get that by running
You can also trim this result to the latest 'n' commits using the usual flag as shown in the example
git log --stat
Just replace 'n' wth a number of your choice.
If you want to see it for only a single commit, pass in the commit SHA
git log --stat -<n>
git log --stat commitSHA