Git fork
1git-whatchanged(1)
2==================
3
4NAME
5----
6git-whatchanged - Show logs with differences each commit introduces
7
8
9SYNOPSIS
10--------
11[synopsis]
12git whatchanged <option>...
13
14WARNING
15-------
16`git whatchanged` has been deprecated and is scheduled for removal in
17a future version of Git, as it is merely `git log` with different
18defaults.
19
20DESCRIPTION
21-----------
22
23Shows commit logs and diff output each commit introduces.
24
25New users are encouraged to use linkgit:git-log[1] instead. The
26`whatchanged` command is essentially the same as linkgit:git-log[1]
27but defaults to showing the raw format diff output and skipping merges:
28
29----
30git log --raw --no-merges
31----
32
33The command is primarily kept for historical reasons; fingers of
34many people who learned Git long before `git log` was invented by
35reading the Linux kernel mailing list are trained to type it.
36
37
38Examples
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
51GIT
52---
53Part of the linkgit:git[1] suite