git-whatchanged(1) — Linux manual page


GIT-WHATCHANGED(1)             Git Manual             GIT-WHATCHANGED(1)

NAME         top

       git-whatchanged - Show logs with difference each commit

SYNOPSIS         top

       git whatchanged <option>...

DESCRIPTION         top

       Shows commit logs and diff output each commit introduces.

       New users are encouraged to use git-log(1) instead. The
       whatchanged command is essentially the same as git-log(1) but
       defaults to show the raw format diff output and to skip merges.

       The command is kept primarily for historical reasons; fingers of
       many people who learned Git long before git log was invented by
       reading Linux kernel mailing list are trained to type it.

EXAMPLES         top

       git whatchanged -p v2.6.12.. include/scsi drivers/scsi
           Show as patches the commits since version v2.6.12 that
           changed any file in the include/scsi or drivers/scsi

       git whatchanged --since="2 weeks ago" -- gitk
           Show the changes during the last two weeks to the file gitk.
           The "--" is necessary to avoid confusion with the branch
           named gitk

GIT         top

       Part of the git(1) suite

COLOPHON         top

       This page is part of the git (Git distributed version control
       system) project.  Information about the project can be found at
       ⟨⟩.  If you have a bug report for this manual
       page, see ⟨⟩.  This page was obtained
       from the project's upstream Git repository
       ⟨⟩ on 2021-08-27.  (At that time,
       the date of the most recent commit that was found in the
       repository was 2021-08-24.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

Git         08/27/2021             GIT-WHATCHANGED(1)

Pages that refer to this page: git(1)git-config(1)git-rev-list(1)