man-pages/man1/git-whatchanged.1.html
2021-03-31 01:06:50 +01:00

97 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GIT-WHATCHANGED</TITLE>
</HEAD><BODY>
<H1>GIT-WHATCHANGED</H1>
Section: Git Manual (1)<BR>Updated: 03/04/2021<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
git-whatchanged - Show logs with difference each commit introduces
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<PRE>
<I>git whatchanged</I> &lt;option&gt;...
</PRE>
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
Shows commit logs and diff output each commit introduces.
<P>
New users are encouraged to use <B><A HREF="/cgi-bin/man/man2html?1+git-log">git-log</A></B>(1) instead. The <B>whatchanged</B> command is essentially the same as <B><A HREF="/cgi-bin/man/man2html?1+git-log">git-log</A></B>(1) but defaults to show the raw format diff output and to skip merges.
<P>
The command is kept primarily for historical reasons; fingers of many people who learned Git long before <B>git log</B> was invented by reading Linux kernel mailing list are trained to type it.
<A NAME="lbAE">&nbsp;</A>
<H2>EXAMPLES</H2>
<P>
<B>git whatchanged -p v2.6.12.. include/scsi drivers/scsi</B>
<DL COMPACT><DT id="1"><DD>
Show as patches the commits since version
<I>v2.6.12</I>
that changed any file in the include/scsi or drivers/scsi subdirectories
</DL>
<P>
<B>git whatchanged --since=&quot;2 weeks ago&quot; -- gitk</B>
<DL COMPACT><DT id="2"><DD>
Show the changes during the last two weeks to the file
<I>gitk</I>. The &quot;--&quot; is necessary to avoid confusion with the
<B>branch</B>
named
<I>gitk</I>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>GIT</H2>
<P>
Part of the <B><A HREF="/cgi-bin/man/man2html?1+git">git</A></B>(1) suite
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="6"><A HREF="#lbAE">EXAMPLES</A><DD>
<DT id="7"><A HREF="#lbAF">GIT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:15 GMT, March 31, 2021
</BODY>
</HTML>