
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=git_diff_notes</id>
		<title>git diff notes - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=git_diff_notes"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=git_diff_notes&amp;action=history"/>
		<updated>2026-05-14T00:02:45Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=git_diff_notes&amp;diff=1370&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;File:git basics.jpg   get last two commits for a particular file   $ '''git log -n 2 &lt;path to file&gt;'''  diff between to commits   $ diff &lt;commit1&gt; &lt;commit2&gt; &lt;path to file&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=git_diff_notes&amp;diff=1370&amp;oldid=prev"/>
				<updated>2021-03-10T20:58:03Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/File:git_basics.jpg&quot; title=&quot;File:git basics.jpg&quot;&gt;File:git basics.jpg&lt;/a&gt;   get last two commits for a particular file   $ &amp;#039;&amp;#039;&amp;#039;git log -n 2 &amp;lt;path to file&amp;gt;&amp;#039;&amp;#039;&amp;#039;  diff between to commits   $ diff &amp;lt;commit1&amp;gt; &amp;lt;commit2&amp;gt; &amp;lt;path to file&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:git basics.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
get last two commits for a particular file&lt;br /&gt;
&lt;br /&gt;
 $ '''git log -n 2 &amp;lt;path to file&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
diff between to commits&lt;br /&gt;
&lt;br /&gt;
 $ diff &amp;lt;commit1&amp;gt; &amp;lt;commit2&amp;gt; &amp;lt;path to file&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>