Display logs and changes for recent commits for specific files or directories

git whatchanged

  • Show what has changed with recent commits or files.
    See also `git log`.
    More information: <https://git-scm.com/docs/git-whatchanged>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

git whatchanged {{path/to/file_or_directory}}

click the source code to copy install git whatchanged on any operating system with command-not-found.com