<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Using a temporary branch when doing Git merges</title>
	<atom:link href="http://blog.mhartl.com/2008/10/28/using-a-temporary-branch-when-doing-git-merges/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mhartl.com/2008/10/28/using-a-temporary-branch-when-doing-git-merges/</link>
	<description>Michael Hartl&#039;s tech blog</description>
	<lastBuildDate>Wed, 21 Dec 2011 11:47:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Keith</title>
		<link>http://blog.mhartl.com/2008/10/28/using-a-temporary-branch-when-doing-git-merges/#comment-247</link>
		<dc:creator><![CDATA[Keith]]></dc:creator>
		<pubDate>Fri, 15 Jan 2010 00:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://insoshi.wordpress.com/?p=202#comment-247</guid>
		<description><![CDATA[If you get stuck and decide to just give up and throw the whole mess away, you can always return to the pre-merge state with

{{{
$ git reset --hard HEAD
}}}

Or, if you&#039;ve already committed the merge that you want to throw away,

{{{
$ git reset --hard ORIG_HEAD
}}}

However, this last command can be dangerous in some cases--never throw away a commit if that commit may itself have been merged into another branch, as doing so may confuse further merges.]]></description>
		<content:encoded><![CDATA[<p>If you get stuck and decide to just give up and throw the whole mess away, you can always return to the pre-merge state with</p>
<p>{{{<br />
$ git reset &#8211;hard HEAD<br />
}}}</p>
<p>Or, if you&#8217;ve already committed the merge that you want to throw away,</p>
<p>{{{<br />
$ git reset &#8211;hard ORIG_HEAD<br />
}}}</p>
<p>However, this last command can be dangerous in some cases&#8211;never throw away a commit if that commit may itself have been merged into another branch, as doing so may confuse further merges.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

