blob: 8b63ceb00e71a5e2f09cf7686b0978dcf71d1e03 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-whatchanged(1)
2==================
3
4NAME
5----
Junio C Hamano01078922006-03-10 00:31:476git-whatchanged - Show logs with difference each commit introduces
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
Junio C Hamano15567bc2011-07-23 00:51:5911[verse]
Junio C Hamanofce7c7e2008-07-02 03:06:3812'git whatchanged' <option>...
Junio C Hamano1a4e8412005-12-27 08:17:2313
14DESCRIPTION
15-----------
Junio C Hamano1a4e8412005-12-27 08:17:2316
Junio C Hamano0241d052013-08-30 23:52:1717Shows commit logs and diff output each commit introduces.
Junio C Hamano1a4e8412005-12-27 08:17:2318
Junio C Hamano0241d052013-08-30 23:52:1719New 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.
Junio C Hamano1a4e8412005-12-27 08:17:2322
Junio C Hamano0241d052013-08-30 23:52:1723The 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.
Junio C Hamano1a4e8412005-12-27 08:17:2326
Junio C Hamano86bcccc2008-03-08 09:33:5527
Junio C Hamano1a4e8412005-12-27 08:17:2328Examples
29--------
Junio C Hamano16ebcd02011-08-05 00:05:4530`git whatchanged -p v2.6.12.. include/scsi drivers/scsi`::
Junio C Hamano1a4e8412005-12-27 08:17:2331
32Show as patches the commits since version 'v2.6.12' that changed
33any file in the include/scsi or drivers/scsi subdirectories
34
Junio C Hamanob76a6862012-05-02 22:02:4635`git whatchanged --since="2 weeks ago" -- gitk`::
Junio C Hamano1a4e8412005-12-27 08:17:2336
37Show the changes during the last two weeks to the file 'gitk'.
38The "--" is necessary to avoid confusion with the *branch* named
39'gitk'
40
Junio C Hamano1a4e8412005-12-27 08:17:2341GIT
42---
Junio C Hamanof7c042d2008-06-06 22:50:5343Part of the linkgit:git[1] suite