Junio C Hamano | 3f971fc | 2005-08-14 17:24:36 -0700 | [diff] [blame] | 1 | git-whatchanged(1) |
| 2 | ================== |
Junio C Hamano | 3f971fc | 2005-08-14 17:24:36 -0700 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
Fredrik Kuivinen | 7bd7f28 | 2006-03-09 17:24:50 +0100 | [diff] [blame] | 6 | git-whatchanged - Show logs with difference each commit introduces |
Junio C Hamano | 3f971fc | 2005-08-14 17:24:36 -0700 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Martin von Zweigbergk | 7791a1d | 2011-07-01 22:38:26 -0400 | [diff] [blame] | 11 | [verse] |
Jonathan Nieder | b1889c3 | 2008-06-30 01:09:04 -0500 | [diff] [blame] | 12 | 'git whatchanged' <option>... |
Junio C Hamano | 3f971fc | 2005-08-14 17:24:36 -0700 | [diff] [blame] | 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
Junio C Hamano | 3f971fc | 2005-08-14 17:24:36 -0700 | [diff] [blame] | 16 | |
Junio C Hamano | 52f425e | 2013-08-09 13:01:48 -0700 | [diff] [blame] | 17 | Shows commit logs and diff output each commit introduces. |
Junio C Hamano | 3f971fc | 2005-08-14 17:24:36 -0700 | [diff] [blame] | 18 | |
Junio C Hamano | 52f425e | 2013-08-09 13:01:48 -0700 | [diff] [blame] | 19 | New users are encouraged to use linkgit:git-log[1] instead. The |
| 20 | `whatchanged` command is essentially the same as linkgit:git-log[1] |
| 21 | but defaults to show the raw format diff output and to skip merges. |
Junio C Hamano | 3f971fc | 2005-08-14 17:24:36 -0700 | [diff] [blame] | 22 | |
Junio C Hamano | 52f425e | 2013-08-09 13:01:48 -0700 | [diff] [blame] | 23 | The command is kept primarily for historical reasons; fingers of |
| 24 | many people who learned Git long before `git log` was invented by |
| 25 | reading Linux kernel mailing list are trained to type it. |
Junio C Hamano | 3f971fc | 2005-08-14 17:24:36 -0700 | [diff] [blame] | 26 | |
Denis Cheng | 5348337 | 2008-03-02 17:05:51 +0800 | [diff] [blame] | 27 | |
Linus Torvalds | bd66361 | 2005-10-30 20:05:32 -0800 | [diff] [blame] | 28 | Examples |
| 29 | -------- |
Jeff King | 5d2fc91 | 2011-08-03 20:13:29 -0600 | [diff] [blame] | 30 | `git whatchanged -p v2.6.12.. include/scsi drivers/scsi`:: |
Linus Torvalds | bd66361 | 2005-10-30 20:05:32 -0800 | [diff] [blame] | 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 | |
Jeff King | 6cf378f | 2012-04-26 04:51:57 -0400 | [diff] [blame] | 35 | `git whatchanged --since="2 weeks ago" -- gitk`:: |
Linus Torvalds | bd66361 | 2005-10-30 20:05:32 -0800 | [diff] [blame] | 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 | |
Junio C Hamano | 3f971fc | 2005-08-14 17:24:36 -0700 | [diff] [blame] | 41 | GIT |
| 42 | --- |
Christian Couder | 9e1f0a8 | 2008-06-06 09:07:32 +0200 | [diff] [blame] | 43 | Part of the linkgit:git[1] suite |