2 .\" Title: git-whatchanged
3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
7 .\" Source: Git 2.46.1.603.g94b60adee3
10 .TH "GIT\-WHATCHANGED" "1" "2024-09-20" "Git 2\&.46\&.1\&.603\&.g94b60a" "Git Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 git-whatchanged \- Show logs with differences each commit introduces
35 \fIgit whatchanged\fR <option>\&...\:
39 Shows commit logs and diff output each commit introduces\&.
41 New users are encouraged to use \fBgit-log\fR(1) instead\&. The \fBwhatchanged\fR command is essentially the same as \fBgit-log\fR(1) but defaults to showing the raw format diff output and skipping merges\&.
43 The command is primarily kept for historical reasons; fingers of many people who learned Git long before \fBgit log\fR was invented by reading the Linux kernel mailing list are trained to type it\&.
46 \fBgit whatchanged \-p v2\&.6\&.12\&.\&. include/scsi drivers/scsi\fR
48 Show as patches the commits since version
50 that changed any file in the include/scsi or drivers/scsi subdirectories
53 \fBgit whatchanged \-\-since="2 weeks ago" \-\- gitk\fR
55 Show the changes during the last two weeks to the file
56 \fIgitk\fR\&. The "\-\-" is necessary to avoid confusion with the
63 Part of the \fBgit\fR(1) suite