<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kevin Chiu &#187; git</title>
	<atom:link href="http://kevinchiu.org/archives/tag/git/feed" rel="self" type="application/rss+xml" />
	<link>http://kevinchiu.org</link>
	<description>Things are only impossible until they&#039;re not.</description>
	<lastBuildDate>Sun, 04 Jul 2010 21:13:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Git Rebase</title>
		<link>http://kevinchiu.org/archives/git-rebase</link>
		<comments>http://kevinchiu.org/archives/git-rebase#comments</comments>
		<pubDate>Wed, 19 Nov 2008 17:26:21 +0000</pubDate>
		<dc:creator>Kevin Chiu</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://kevinchiu.org/blog/?p=696</guid>
		<description><![CDATA[I was having a discussion about git the other day and rebase came up. My normal workflow didn&#8217;t involve rebase; so, my natural curiosity sparked up and I dove into the documentation. It turns out git-rebase is quite controversial. (And, you should avoid it if you&#8217;re sharing your commits.) Linus Torvalds on rebasing: * [http://kerneltrap.org/Linux/Git_Management](http://kerneltrap.org/Linux/Git_Management) [...]]]></description>
			<content:encoded><![CDATA[<p>I was having a discussion about git the other day and rebase came up.</p>
<p>My normal workflow didn&#8217;t involve rebase; so, my natural curiosity sparked up and I dove into the documentation. </p>
<p>It turns out git-rebase is quite controversial. (And, you should avoid it if you&#8217;re sharing your commits.)</p>
<p>Linus Torvalds on rebasing:</p>
<p>   * [http://kerneltrap.org/Linux/Git_Management](http://kerneltrap.org/Linux/Git_Management)<br />
   * [http://lwn.net/Articles/291302/](http://lwn.net/Articles/291302/)<br />
   * [http://lwn.net/Articles/291303/](http://lwn.net/Articles/291303)<br />
   * [http://lwn.net/Articles/291304/](http://lwn.net/Articles/291304/)</p>
<p>Random Redditors:</p>
<p>   * [http://www.reddit.com/r/programming/comments/6ube0/synchronizing_development_rebase_vs_pullmerge_git/?sort=top](http://www.reddit.com/r/programming/comments/6ube0/synchronizing_development_rebase_vs_pullmerge_git/?sort=top)</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinchiu.org/archives/git-rebase/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git Blame is awesome</title>
		<link>http://kevinchiu.org/archives/git-blame-is-awesome</link>
		<comments>http://kevinchiu.org/archives/git-blame-is-awesome#comments</comments>
		<pubDate>Wed, 19 Nov 2008 13:36:59 +0000</pubDate>
		<dc:creator>Kevin Chiu</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://kevinchiu.org/blog/?p=675</guid>
		<description><![CDATA[At work, I manage a software product with 19 contributors, most of whom are no longer active. For my situation, git blame is seriously awesome. When someone starts typing their personal email into the code base in some random area and accidentally checks it in, you can figure out exactly who is lazy with focusing [...]]]></description>
			<content:encoded><![CDATA[<p>At work, I manage a software product with 19 contributors, most of whom are no longer active.</p>
<p>For my situation, git blame is seriously awesome.</p>
<p>When someone starts typing their personal email into the code base in some random area and accidentally checks it in, you can figure out exactly who is lazy with focusing their windows.</p>
<p>(I wonder if there&#8217;s a way to automatically reject pushes that don&#8217;t pass spec tests&#8230;)</p>
<p>Todo: check out git bisect</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinchiu.org/archives/git-blame-is-awesome/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Docs should take a hint from Git</title>
		<link>http://kevinchiu.org/archives/google-docs-should-take-a-hint-from-git</link>
		<comments>http://kevinchiu.org/archives/google-docs-should-take-a-hint-from-git#comments</comments>
		<pubDate>Thu, 25 Sep 2008 06:57:21 +0000</pubDate>
		<dc:creator>Kevin Chiu</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://kevinchiu.org/blog/?p=531</guid>
		<description><![CDATA[Problem: You want to revert a change you made to your document without losing more recent changes. Solution: Just like a wiki, Google Docs has a revision history. This is like having a magical infinite undo that takes your document back to nearly any state that it was at in the past. Problem: Unfortunately, reverting [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem: </strong><br />
You want to revert a change you made to your document without losing more recent changes.</p>
<p><strong>Solution: </strong><br />
Just like a wiki, Google Docs has a revision history. This is like having a magical infinite undo that takes your document back to nearly any state that it was at in the past.</p>
<p><a href="http://kevinchiu.org/blog/wp-content/uploads/2008/09/revisions.png"><img src="http://kevinchiu.org/blog/wp-content/uploads/2008/09/revisions.png" alt="" title="revisions" width="420" height="271" class="aligncenter size-full wp-image-532" /></a></p>
<p><strong>Problem: </strong><br />
Unfortunately, reverting to an older revision causes you to lose any changes you made after doing that old revision. Optimally, you&#8217;d be able to undo something in the past without losing everything you&#8217;ve done since then.</p>
<p><strong>Solution? </strong><br />
Well, using Git, you can do this easily. Every revision is tagged with a unique identifier, in this case, a SHA1 hash. Calling git revert [hash] reverts ONLY that particular revision, while keeping any work you&#8217;ve done since that revision intact.<br />
<a href="http://kevinchiu.org/blog/wp-content/uploads/2008/09/git.png"><img src="http://kevinchiu.org/blog/wp-content/uploads/2008/09/git.png" alt="" title="git" width="420" height="271" class="aligncenter size-full wp-image-533" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://kevinchiu.org/archives/google-docs-should-take-a-hint-from-git/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching using disk
Object Caching 184/368 objects using disk

Served from: kevinchiu.org @ 2010-07-31 19:42:52 -->