Documentation / git-whatchanged.txton commit Merge branch 'es/doc-gitsubmodules-markup' (c41b119)
   1git-whatchanged(1)
   2==================
   3
   4NAME
   5----
   6git-whatchanged - Show logs with difference each commit introduces
   7
   8
   9SYNOPSIS
  10--------
  11[verse]
  12'git whatchanged' <option>...
  13
  14DESCRIPTION
  15-----------
  16
  17Shows commit logs and diff output each commit introduces.
  18
  19New users are encouraged to use linkgit:git-log[1] instead.  The
  20`whatchanged` command is essentially the same as linkgit:git-log[1]
  21but defaults to show the raw format diff output and to skip merges.
  22
  23The command is kept primarily for historical reasons; fingers of
  24many people who learned Git long before `git log` was invented by
  25reading Linux kernel mailing list are trained to type it.
  26
  27
  28Examples
  29--------
  30`git whatchanged -p v2.6.12.. include/scsi drivers/scsi`::
  31
  32        Show as patches the commits since version 'v2.6.12' that changed
  33        any file in the include/scsi or drivers/scsi subdirectories
  34
  35`git whatchanged --since="2 weeks ago" -- gitk`::
  36
  37        Show the changes during the last two weeks to the file 'gitk'.
  38        The "--" is necessary to avoid confusion with the *branch* named
  39        'gitk'
  40
  41GIT
  42---
  43Part of the linkgit:git[1] suite