Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-whatchanged(1) |
| 2 | ================== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | 0107892 | 2006-03-10 00:31:47 | [diff] [blame] | 6 | git-whatchanged - Show logs with difference each commit introduces |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Junio C Hamano | 15567bc | 2011-07-23 00:51:59 | [diff] [blame] | 11 | [verse] |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame] | 12 | 'git whatchanged' <option>... |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 16 | |
Junio C Hamano | 0241d05 | 2013-08-30 23:52:17 | [diff] [blame] | 17 | Shows commit logs and diff output each commit introduces. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 18 | |
Junio C Hamano | 0241d05 | 2013-08-30 23:52:17 | [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 | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 22 | |
Junio C Hamano | 0241d05 | 2013-08-30 23:52:17 | [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 | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 26 | |
Junio C Hamano | 86bcccc | 2008-03-08 09:33:55 | [diff] [blame] | 27 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 28 | Examples |
| 29 | -------- |
Junio C Hamano | 16ebcd0 | 2011-08-05 00:05:45 | [diff] [blame] | 30 | `git whatchanged -p v2.6.12.. include/scsi drivers/scsi`:: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [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 | |
Junio C Hamano | b76a686 | 2012-05-02 22:02:46 | [diff] [blame] | 35 | `git whatchanged --since="2 weeks ago" -- gitk`:: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [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 | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 41 | GIT |
| 42 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 43 | Part of the linkgit:git[1] suite |