1GIT-WHATCHANGED(1) Git Manual GIT-WHATCHANGED(1)
2
3
4
6 git-whatchanged - Show logs with difference each commit introduces
7
9 git-whatchanged <option>...
10
12 Shows commit logs and diff output each commit introduces. The command
13 internally invokes git-rev-list piped to git-diff-tree, and takes
14 command line options for both of these commands.
15
16 This manual page describes only the most frequently used options.
17
19 -p
20 Show textual diffs, instead of the git internal diff output format
21 that is useful only to tell the changed paths and their nature of
22 changes.
23
24 -<n>
25 Limit output to <n> commits.
26
27 <since>..<until>
28 Limit output to between the two named commits (bottom exclusive,
29 top inclusive).
30
31 -r
32 Show git internal diff output, but for the whole tree, not just the
33 top level.
34
35 --pretty=<format>
36 Controls the output format for the commit logs. <format> can be one
37 of raw, medium, short, full, and oneline.
38
39 -m
40 By default, differences for merge commits are not shown. With this
41 flag, show differences to that commit from all of its parents.
42
43 However, it is not very useful in general, although it is useful on
44 a file-by-file basis.
45
47 git-whatchanged -p v2.6.12.. include/scsi drivers/scsi
48 Show as patches the commits since version v2.6.12 that changed any
49 file in the include/scsi or drivers/scsi subdirectories
50
51 git-whatchanged --since="2 weeks ago" -- gitk
52 Show the changes during the last two weeks to the file gitk. The
53 "--" is necessary to avoid confusion with the branch named gitk
54
56 Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano
57 <junkio@cox.net>
58
60 Documentation by David Greaves, Junio C Hamano and the git-list
61 <git@vger.kernel.org>.
62
64 Part of the git(7) suite
65
66
67
68
69Git 1.5.3.3 10/09/2007 GIT-WHATCHANGED(1)