Raw
1 git-whatchanged(1)
2 ==================
3
4 NAME
5 ----
6 git-whatchanged - Show logs with differences each commit introduces
7
8
9 SYNOPSIS
10 --------
11 [synopsis]
12 git whatchanged <option>...
13
14 WARNING
15 -------
16 `git whatchanged` has been deprecated and is scheduled for removal in
17 a future version of Git, as it is merely `git log` with different
18 defaults.
19
20 DESCRIPTION
21 -----------
22
23 Shows commit logs and diff output each commit introduces.
24
25 New users are encouraged to use linkgit:git-log[1] instead. The
26 `whatchanged` command is essentially the same as linkgit:git-log[1]
27 but defaults to showing the raw format diff output and skipping merges:
28
29 ----
30 git log --raw --no-merges
31 ----
32
33 The command is primarily kept for historical reasons; fingers of
34 many people who learned Git long before `git log` was invented by
35 reading the Linux kernel mailing list are trained to type it.
36
37
38 Examples
39 --------
40 `git whatchanged -p v2.6.12.. include/scsi drivers/scsi`::
41
42 Show as patches the commits since version 'v2.6.12' that changed
43 any file in the include/scsi or drivers/scsi subdirectories
44
45 `git whatchanged --since="2 weeks ago" -- gitk`::
46
47 Show the changes during the last two weeks to the file 'gitk'.
48 The "--" is necessary to avoid confusion with the *branch* named
49 'gitk'
50
51 GIT
52 ---
53 Part of the linkgit:git[1] suite