<?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/"
		>
<channel>
	<title>Comments on: Recovering From a Disasterous Git-rebase mistake</title>
	<atom:link href="http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/</link>
	<description>A blog about removing the ambiguity of your online communications</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:10:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Patrick Dobson</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-6673</link>
		<dc:creator>Patrick Dobson</dc:creator>
		<pubDate>Fri, 03 Feb 2012 16:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-6673</guid>
		<description>&lt;p&gt;This is a pretty good writeup.&lt;/p&gt;

&lt;p&gt;I&#039;ve found that when I do a rebase on a branch more than once (e.g. I create a branch called marketing, make changes, rebase to master, make more changes, and then rebase again) that the branch will actually come into conflict with its own changes. In these cases, I&#039;ll do a git rebase and run git rebase --skip for each conflict until the end of the rebase.&lt;/p&gt;

&lt;p&gt;What this does is ignore all the conflicts that the branch has with itself, and applies all of the changes of that branch to the parent branch that don&#039;t cause any commits.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is a pretty good writeup.</p>

<p>I&#8217;ve found that when I do a rebase on a branch more than once (e.g. I create a branch called marketing, make changes, rebase to master, make more changes, and then rebase again) that the branch will actually come into conflict with its own changes. In these cases, I&#8217;ll do a git rebase and run git rebase &#8211;skip for each conflict until the end of the rebase.</p>

<p>What this does is ignore all the conflicts that the branch has with itself, and applies all of the changes of that branch to the parent branch that don&#8217;t cause any commits.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Marc McGarry</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-6602</link>
		<dc:creator>Marc McGarry</dc:creator>
		<pubDate>Thu, 26 Jan 2012 05:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-6602</guid>
		<description>&lt;p&gt;You&#039;re still helping people far into the future. Thanks : )&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You&#8217;re still helping people far into the future. Thanks : )</p>]]></content:encoded>
	</item>
	<item>
		<title>By: iVira</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-6096</link>
		<dc:creator>iVira</dc:creator>
		<pubDate>Wed, 07 Dec 2011 17:27:49 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-6096</guid>
		<description>&lt;p&gt;Thanks a lot! It&#039;s saved me a day of work!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks a lot! It&#8217;s saved me a day of work!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang Teuber</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-5539</link>
		<dc:creator>Wolfgang Teuber</dc:creator>
		<pubDate>Thu, 15 Sep 2011 13:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-5539</guid>
		<description>&lt;p&gt;Another great THANKS here
For your stats: you just saved
  * 261 LOC
  * 6.5 h of my life
  * me
  * my boss&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another great THANKS here
For your stats: you just saved
  * 261 LOC
  * 6.5 h of my life
  * me
  * my boss</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver Coleman</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-3867</link>
		<dc:creator>Oliver Coleman</dc:creator>
		<pubDate>Wed, 27 Apr 2011 06:02:51 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-3867</guid>
		<description>&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;I think the mistake I made was to skip some of the diffs during the rebase, thinking that the one file it complained about a conflict for was the only file referenced for that diff. Lo and behold when the rebase was &quot;complete&quot;, minus skipped diffs, there were many missing pieces I had painstakingly created, not just the file with a conflict!&lt;/p&gt;

&lt;p&gt;Cheers,
Oliver&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks!</p>

<p>I think the mistake I made was to skip some of the diffs during the rebase, thinking that the one file it complained about a conflict for was the only file referenced for that diff. Lo and behold when the rebase was &#8220;complete&#8221;, minus skipped diffs, there were many missing pieces I had painstakingly created, not just the file with a conflict!</p>

<p>Cheers,
Oliver</p>]]></content:encoded>
	</item>
	<item>
		<title>By: VInay</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-3201</link>
		<dc:creator>VInay</dc:creator>
		<pubDate>Sat, 05 Feb 2011 02:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-3201</guid>
		<description>&lt;p&gt;Thanks. You saved my day.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks. You saved my day.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Brent Douglas</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-3067</link>
		<dc:creator>Brent Douglas</dc:creator>
		<pubDate>Fri, 17 Dec 2010 03:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-3067</guid>
		<description>&lt;p&gt;Thanks man. Massive help.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks man. Massive help.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Huska</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-2272</link>
		<dc:creator>Stefan Huska</dc:creator>
		<pubDate>Tue, 07 Sep 2010 19:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-2272</guid>
		<description>&lt;p&gt;Thanks, you helped me a lot! :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, you helped me a lot! :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Lotinsky</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-2229</link>
		<dc:creator>Ian Lotinsky</dc:creator>
		<pubDate>Fri, 27 Aug 2010 17:42:12 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-2229</guid>
		<description>&lt;p&gt;Thank you, thank you, thank you. You just saved 5 hours of my life from being needlessly wasted.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you, thank you, thank you. You just saved 5 hours of my life from being needlessly wasted.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anders Bohn Jespersen</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-2208</link>
		<dc:creator>Anders Bohn Jespersen</dc:creator>
		<pubDate>Thu, 12 Aug 2010 08:39:49 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-2208</guid>
		<description>&lt;p&gt;Thank you very much!&lt;/p&gt;

&lt;p&gt;After using rebase -i on a branch (in a sort of haphazard, happy go lucky way :-), most changes were disappeared.&lt;/p&gt;

&lt;p&gt;I found the commit-id in &quot;.git/logs/refs/&quot;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you very much!</p>

<p>After using rebase -i on a branch (in a sort of haphazard, happy go lucky way :-), most changes were disappeared.</p>

<p>I found the commit-id in &#8220;.git/logs/refs/&#8221;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Lukas</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-1998</link>
		<dc:creator>Lukas</dc:creator>
		<pubDate>Tue, 06 Jul 2010 19:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-1998</guid>
		<description>&lt;p&gt;OMG! Thanks!
Btw, I don&#039;t know why, but in my case logs in .git/logs/refs allowed me to restore almost the same version I lost. Inside .git/logs/HEAD file I found different sha and I got exaclly what i wanted.&lt;/p&gt;

&lt;p&gt;And one thing. I lost my commits by doing 
git add -i
git rebase -i origin/branch
git rebase --abort (due to fake info about already stared rebasing)&lt;/p&gt;

&lt;p&gt;TBH I&#039;m not sure I made commit after git add -i
Maybe missing commit operation were the reason.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>OMG! Thanks!
Btw, I don&#8217;t know why, but in my case logs in .git/logs/refs allowed me to restore almost the same version I lost. Inside .git/logs/HEAD file I found different sha and I got exaclly what i wanted.</p>

<p>And one thing. I lost my commits by doing 
git add -i
git rebase -i origin/branch
git rebase &#8211;abort (due to fake info about already stared rebasing)</p>

<p>TBH I&#8217;m not sure I made commit after git add -i
Maybe missing commit operation were the reason.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-1170</link>
		<dc:creator>Jorge</dc:creator>
		<pubDate>Fri, 29 Jan 2010 12:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-1170</guid>
		<description>&lt;p&gt;You can use git reflog instead of looking at the log manually :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You can use git reflog instead of looking at the log manually :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-945</link>
		<dc:creator>Vijay</dc:creator>
		<pubDate>Tue, 22 Dec 2009 18:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-945</guid>
		<description>&lt;p&gt;Thanks much for this! Saved me from losing a heavy commit! :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks much for this! Saved me from losing a heavy commit! :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Como recuperar um git rebase mal feito &#171; Tino Gomes</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-599</link>
		<dc:creator>Como recuperar um git rebase mal feito &#171; Tino Gomes</dc:creator>
		<pubDate>Thu, 23 Jul 2009 04:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-599</guid>
		<description>&lt;p&gt;[...] pelo famosíssimo Guanabara em um dos guanacasts sobre SEO (parte I e  parte II), onde encontrei um post de Greg DeVore, explicando como recuperar uma cagada bagunça dessa. E com meus MAD SKIILS, ainda usei o git [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] pelo famosíssimo Guanabara em um dos guanacasts sobre SEO (parte I e  parte II), onde encontrei um post de Greg DeVore, explicando como recuperar uma cagada bagunça dessa. E com meus MAD SKIILS, ainda usei o git [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Soleone</title>
		<link>http://www.bluemangolearning.com/blog/2009/03/recovering-from-a-disastrous-git-rebase-mistake/comment-page-1/#comment-598</link>
		<dc:creator>Soleone</dc:creator>
		<pubDate>Tue, 21 Jul 2009 18:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://bluemangolearning.com/blog/?p=391#comment-598</guid>
		<description>&lt;p&gt;Yea, thanks a lot indeed! I lost a pretty heavy commit today, when accidently doing git rebase --skip in the middle of a rebase.&lt;/p&gt;

&lt;p&gt;You saved my day man!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yea, thanks a lot indeed! I lost a pretty heavy commit today, when accidently doing git rebase &#8211;skip in the middle of a rebase.</p>

<p>You saved my day man!</p>]]></content:encoded>
	</item>
</channel>
</rss>

