]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-whatchanged.txt
t4034: abstract away SHA-1-specific constants
[thirdparty/git.git] / Documentation / git-whatchanged.txt
CommitLineData
3f971fc4
JH
1git-whatchanged(1)
2==================
3f971fc4
JH
3
4NAME
5----
7bd7f280 6git-whatchanged - Show logs with difference each commit introduces
3f971fc4
JH
7
8
9SYNOPSIS
10--------
7791a1d9 11[verse]
b1889c36 12'git whatchanged' <option>...
3f971fc4
JH
13
14DESCRIPTION
15-----------
3f971fc4 16
52f425e1 17Shows commit logs and diff output each commit introduces.
3f971fc4 18
52f425e1
JH
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.
3f971fc4 22
52f425e1
JH
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.
3f971fc4 26
5348337a 27
bd663611
LT
28Examples
29--------
5d2fc913 30`git whatchanged -p v2.6.12.. include/scsi drivers/scsi`::
bd663611
LT
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
6cf378f0 35`git whatchanged --since="2 weeks ago" -- gitk`::
bd663611
LT
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
3f971fc4
JH
41GIT
42---
9e1f0a85 43Part of the linkgit:git[1] suite