Show which files were changed by a commit

Don’t you love the summary of modified, deleted, and created files that pops up when you run git pull? You can get the same summary on git log with:

git log --stat --summary

Here’s an explanation of each flag:

  • --stat: shows the modified files
  • --summary: shows the created and deleted files

Sources: [1]