<?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"
	>
<channel>
	<title>Comments on: The illustrated guide to recovering lost commits with Git</title>
	<atom:link href="http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/feed/" rel="self" type="application/rss+xml" />
	<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/</link>
	<description>Rambling about programming and life as a programmer - by Mathieu Martin</description>
	<pubDate>Fri, 21 Nov 2008 11:01:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Brian Estes</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-799</link>
		<dc:creator>Brian Estes</dc:creator>
		<pubDate>Fri, 26 Sep 2008 15:17:31 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-799</guid>
		<description>Ah, you saved me with this post! Thank you so much.</description>
		<content:encoded><![CDATA[<p>Ah, you saved me with this post! Thank you so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmat</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-281</link>
		<dc:creator>webmat</dc:creator>
		<pubDate>Tue, 01 Jul 2008 04:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-281</guid>
		<description>@Felix
It is indeed a very cool trick to see what commits lead to a specific lost commit. Thanks for the tip :-) 

Unfortunately, as a Mac heretic I don't have a Tk implementation that allows me to interact much with Gitk, as opposed to Linux users. I can copy/paste the SHA ID, click the buttons / select the combo boxes, but I can't right-click anything. Well, I can, but nothing happens ;-)

Now if only an approximate equivalent to TextMate could appear on Linux...

An example of Felix' trick:

&lt;img src="http://programblings.com/wp-content/uploads/2008/06/gitk_with_lost_commits.png" alt="Gitk displaying two lost commits in sequence" /&gt;</description>
		<content:encoded><![CDATA[<p>@Felix<br />
It is indeed a very cool trick to see what commits lead to a specific lost commit. Thanks for the tip :-) </p>
<p>Unfortunately, as a Mac heretic I don&#8217;t have a Tk implementation that allows me to interact much with Gitk, as opposed to Linux users. I can copy/paste the SHA ID, click the buttons / select the combo boxes, but I can&#8217;t right-click anything. Well, I can, but nothing happens ;-)</p>
<p>Now if only an approximate equivalent to TextMate could appear on Linux&#8230;</p>
<p>An example of Felix&#8217; trick:</p>
<p><img src="http://programblings.com/wp-content/uploads/2008/06/gitk_with_lost_commits.png" alt="Gitk displaying two lost commits in sequence" /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix Rabe</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-280</link>
		<dc:creator>Felix Rabe</dc:creator>
		<pubDate>Mon, 30 Jun 2008 19:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-280</guid>
		<description>Bah, i meant:

gitk [--all] &#60;lost_commit_id&#62;</description>
		<content:encoded><![CDATA[<p>Bah, i meant:</p>
<p>gitk [--all] &lt;lost_commit_id&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix Rabe</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-279</link>
		<dc:creator>Felix Rabe</dc:creator>
		<pubDate>Mon, 30 Jun 2008 19:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-279</guid>
		<description>Try this:

git-fsck --lost-found
gitk [--all] 

Right-click, "make branch" -&#62; same as git-checkout -b something</description>
		<content:encoded><![CDATA[<p>Try this:</p>
<p>git-fsck &#8211;lost-found<br />
gitk [--all] </p>
<p>Right-click, &#8220;make branch&#8221; -&gt; same as git-checkout -b something</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmat</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-277</link>
		<dc:creator>webmat</dc:creator>
		<pubDate>Sat, 28 Jun 2008 13:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-277</guid>
		<description>Glad to be of help, Daniel :-)</description>
		<content:encoded><![CDATA[<p>Glad to be of help, Daniel :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmat</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-272</link>
		<dc:creator>webmat</dc:creator>
		<pubDate>Thu, 26 Jun 2008 10:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-272</guid>
		<description>Mikong: you're right, I'm using 'md' :-)

In fact I made an alias md='mkdir'. But I am under OS X, yes. I'll fix the typo...</description>
		<content:encoded><![CDATA[<p>Mikong: you&#8217;re right, I&#8217;m using &#8216;md&#8217; :-)</p>
<p>In fact I made an alias md=&#8217;mkdir&#8217;. But I am under OS X, yes. I&#8217;ll fix the typo&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikong</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-271</link>
		<dc:creator>mikong</dc:creator>
		<pubDate>Thu, 26 Jun 2008 07:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-271</guid>
		<description>At first I thought you were just using Windows that's why you used 'md recovery' command instead of 'mkdir recovery'. But with the screenshots you're using Mac OS X right?</description>
		<content:encoded><![CDATA[<p>At first I thought you were just using Windows that&#8217;s why you used &#8216;md recovery&#8217; command instead of &#8216;mkdir recovery&#8217;. But with the screenshots you&#8217;re using Mac OS X right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Programblings &#187; Blog Archive &#187; Git remote branches</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-258</link>
		<dc:creator>Programblings &#187; Blog Archive &#187; Git remote branches</dc:creator>
		<pubDate>Mon, 23 Jun 2008 17:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-258</guid>
		<description>[...] remember, in case of an emergency, you can always refer to my illustrated guide to recovering lost commits with Git [...]</description>
		<content:encoded><![CDATA[<p>[...] remember, in case of an emergency, you can always refer to my illustrated guide to recovering lost commits with Git [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: So Many Fish &#187; Blog Archive &#187; Yikes&#8230;.dangling commit!</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-257</link>
		<dc:creator>So Many Fish &#187; Blog Archive &#187; Yikes&#8230;.dangling commit!</dc:creator>
		<pubDate>Mon, 23 Jun 2008 11:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-257</guid>
		<description>[...] for all the world like there is no way to get that work back.  But all is not lost!  Between  this great post in Mathieu Martin’s blog and Eric available just when I needed him even though he’s over in [...]</description>
		<content:encoded><![CDATA[<p>[...] for all the world like there is no way to get that work back.  But all is not lost!  Between  this great post in Mathieu Martin’s blog and Eric available just when I needed him even though he’s over in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mc-Kenna.com &#187; Save your bacon with git</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-253</link>
		<dc:creator>Mc-Kenna.com &#187; Save your bacon with git</dc:creator>
		<pubDate>Fri, 20 Jun 2008 01:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-253</guid>
		<description>[...] is the same. Git has tonnes of wonderful magic toys, but it seems it also has a little trick for saving the bacon when you accidentally loose something. One to bookmarked for those special [...]</description>
		<content:encoded><![CDATA[<p>[...] is the same. Git has tonnes of wonderful magic toys, but it seems it also has a little trick for saving the bacon when you accidentally loose something. One to bookmarked for those special [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webmat</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-252</link>
		<dc:creator>webmat</dc:creator>
		<pubDate>Thu, 12 Jun 2008 10:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-252</guid>
		<description>@Tim
Good catch, I fixed the few occurrences where it was mangled. Wordpress' markup language is playing tricks on us :-)

@Rory and Anon: I'll be posting more about Git shortly. I'll revisit both your suggestions while I'm at it.</description>
		<content:encoded><![CDATA[<p>@Tim<br />
Good catch, I fixed the few occurrences where it was mangled. Wordpress&#8217; markup language is playing tricks on us :-)</p>
<p>@Rory and Anon: I&#8217;ll be posting more about Git shortly. I&#8217;ll revisit both your suggestions while I&#8217;m at it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Abell</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-251</link>
		<dc:creator>Tim Abell</dc:creator>
		<pubDate>Thu, 12 Jun 2008 09:41:16 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-251</guid>
		<description>In "mathieu@ml recovery (master)$ git fsck –lost-found" the "--lost-found" has had the leading double dash mangled.</description>
		<content:encoded><![CDATA[<p>In &#8220;mathieu@ml recovery (master)$ git fsck –lost-found&#8221; the &#8220;&#8211;lost-found&#8221; has had the leading double dash mangled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web 2.0 Announcer</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-249</link>
		<dc:creator>Web 2.0 Announcer</dc:creator>
		<pubDate>Mon, 09 Jun 2008 15:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-249</guid>
		<description>&lt;strong&gt;The illustrated guide to recovering lost commits with Git...&lt;/strong&gt;

[...]A walkthrough to recovering from most kinds of bad situations you can get into with Git, the revolutionary version control system. With cameos by ninjas and motocrosses![...]...</description>
		<content:encoded><![CDATA[<p><strong>The illustrated guide to recovering lost commits with Git&#8230;</strong></p>
<p>[...]A walkthrough to recovering from most kinds of bad situations you can get into with Git, the revolutionary version control system. With cameos by ninjas and motocrosses![...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean-Francois Couture</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-248</link>
		<dc:creator>Jean-Francois Couture</dc:creator>
		<pubDate>Mon, 09 Jun 2008 14:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-248</guid>
		<description>Nice article Mat!

One tip I always give to avoid getting in situation like this is to always run git status between commands. It's a nice habit to get into and the output is generally more helpful than the git error/warning message.

I checked the docs about the dangling commits. I think if you ran git prune before gc, it would have removed them. git gc runs prune but keeps commits for 30 days. Then it packs the repository, and according to the prune doc, packed commits do not get removed. That's my guess.</description>
		<content:encoded><![CDATA[<p>Nice article Mat!</p>
<p>One tip I always give to avoid getting in situation like this is to always run git status between commands. It&#8217;s a nice habit to get into and the output is generally more helpful than the git error/warning message.</p>
<p>I checked the docs about the dangling commits. I think if you ran git prune before gc, it would have removed them. git gc runs prune but keeps commits for 30 days. Then it packs the repository, and according to the prune doc, packed commits do not get removed. That&#8217;s my guess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rory McCann</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-247</link>
		<dc:creator>Rory McCann</dc:creator>
		<pubDate>Mon, 09 Jun 2008 13:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-247</guid>
		<description>I think the reason those danglying commits are still there at the end is because git doesn't get rid of random commits. It keeps them around for 30 days AFAIK. More info: http://www.kernel.org/pub/software/scm/git/docs/git-reflog.html</description>
		<content:encoded><![CDATA[<p>I think the reason those danglying commits are still there at the end is because git doesn&#8217;t get rid of random commits. It keeps them around for 30 days AFAIK. More info: <a href="http://www.kernel.org/pub/software/scm/git/docs/git-reflog.html" rel="nofollow">http://www.kernel.org/pub/software/scm/git/docs/git-reflog.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-246</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Sun, 08 Jun 2008 20:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://programblings.com/2008/06/07/the-illustrated-guide-to-recovering-lost-commits-with-git/#comment-246</guid>
		<description>Also check out "git log -g".</description>
		<content:encoded><![CDATA[<p>Also check out &#8220;git log -g&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
