git-whatchanged.1 (2475B)
- '\" t
- .\" Title: git-whatchanged
- .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
- .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
- .\" Date: 2025-03-14
- .\" Manual: Git Manual
- .\" Source: Git 2.49.0
- .\" Language: English
- .\"
- .TH "GIT\-WHATCHANGED" "1" "2025-03-14" "Git 2\&.49\&.0" "Git Manual"
- .\" -----------------------------------------------------------------
- .\" * Define some portability stuff
- .\" -----------------------------------------------------------------
- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .\" http://bugs.debian.org/507673
- .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .ie \n(.g .ds Aq \(aq
- .el .ds Aq '
- .\" -----------------------------------------------------------------
- .\" * set default formatting
- .\" -----------------------------------------------------------------
- .\" disable hyphenation
- .nh
- .\" disable justification (adjust text to left margin only)
- .ad l
- .\" -----------------------------------------------------------------
- .\" * MAIN CONTENT STARTS HERE *
- .\" -----------------------------------------------------------------
- .SH "NAME"
- git-whatchanged \- Show logs with differences each commit introduces
- .SH "SYNOPSIS"
- .sp
- .nf
- \fIgit whatchanged\fR <option>\&...\:
- .fi
- .SH "DESCRIPTION"
- .sp
- Shows commit logs and diff output each commit introduces\&.
- .sp
- 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\&.
- .sp
- The command is primarily kept for historical reasons; fingers of many people who learned Git long before \fBgit\fR \fBlog\fR was invented by reading the Linux kernel mailing list are trained to type it\&.
- .SH "EXAMPLES"
- .PP
- \fBgit\fR \fBwhatchanged\fR \fB\-p\fR \fBv2\&.6\&.12\fR\fB\&.\&.\fR \fBinclude/scsi\fR \fBdrivers/scsi\fR
- .RS 4
- Show as patches the commits since version
- \fIv2\&.6\&.12\fR
- that changed any file in the include/scsi or drivers/scsi subdirectories
- .RE
- .PP
- \fBgit\fR \fBwhatchanged\fR \fB\-\-since=\fR"2 \fBweeks\fR \fBago\fR" \fB\-\-\fR \fBgitk\fR
- .RS 4
- Show the changes during the last two weeks to the file
- \fIgitk\fR\&. The "\-\-" is necessary to avoid confusion with the
- \fBbranch\fR
- named
- \fIgitk\fR
- .RE
- .SH "GIT"
- .sp
- Part of the \fBgit\fR(1) suite