
<?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_revert</id>
		<title>git revert - 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_revert"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=git_revert&amp;action=history"/>
		<updated>2026-04-29T00:23:51Z</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_revert&amp;diff=1339&amp;oldid=prev</id>
		<title>Nighthawk at 02:08, 30 August 2020</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=git_revert&amp;diff=1339&amp;oldid=prev"/>
				<updated>2020-08-30T02:08:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:08, 30 August 2020&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; update codefile.src for new feater #87&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; update codefile.src for new feater #87&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[category:git]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;[category:git&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=git_revert&amp;diff=1338&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;git revert will &quot;restore&quot; an older version of a file from the git repo onto disk into the working directory. this is not to be confused with git restore.  example  $ '''git re...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=git_revert&amp;diff=1338&amp;oldid=prev"/>
				<updated>2020-08-30T02:08:08Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;git revert will &amp;quot;restore&amp;quot; an older version of a file from the git repo onto disk into the working directory. this is not to be confused with git restore.  example  $ &amp;#039;&amp;#039;&amp;#039;git re...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;git revert will &amp;quot;restore&amp;quot; an older version of a file from the git repo onto disk into the working directory. this is not to be confused with git restore.&lt;br /&gt;
&lt;br /&gt;
example&lt;br /&gt;
 $ '''git revert 5b414ff8a4e014956939d06ba822795761f2f74d'''&lt;br /&gt;
&lt;br /&gt;
will replace the file codefile.src with the version in the repo before the last commit by undoing it. the 40-byte hexadecimal string is the  SHA-1 object name as show by git log.&lt;br /&gt;
&lt;br /&gt;
example&lt;br /&gt;
&lt;br /&gt;
 $ '''git log'''&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
 commit 5b414ff8a4e014956939d06ba822795761f2f74d&lt;br /&gt;
 Author: jsmith &amp;lt;jsmith@abccorp.com&amp;gt;&lt;br /&gt;
 Date:   Sat Aug 29 05:46:57 2020 -0500&lt;br /&gt;
 &amp;lt;br&amp;gt;&lt;br /&gt;
    update codefile.src for new feater #87&lt;br /&gt;
&lt;br /&gt;
[category:git]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>