<?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: Git for Gnome</title>
	<atom:link href="http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/</link>
	<description>Fourteen hours to save the Earth</description>
	<lastBuildDate>Sat, 21 Nov 2009 04:45:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Wahoo</title>
		<link>http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/comment-page-1/#comment-17</link>
		<dc:creator>Wahoo</dc:creator>
		<pubDate>Sat, 06 Oct 2007 02:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/#comment-17</guid>
		<description>Thank you for sharing!</description>
		<content:encoded><![CDATA[<p>Thank you for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun&#8217;s Blog &#187; Blog Archive &#187; Git for Gnome, Take Two</title>
		<link>http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/comment-page-1/#comment-7</link>
		<dc:creator>Shaun&#8217;s Blog &#187; Blog Archive &#187; Git for Gnome, Take Two</dc:creator>
		<pubDate>Tue, 18 Sep 2007 18:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/#comment-7</guid>
		<description>[...] Shaun&#8217;s Blog Fourteen hours to save the Earth      &#171; Git for Gnome [...]</description>
		<content:encoded><![CDATA[<p>[...] Shaun&#8217;s Blog Fourteen hours to save the Earth      &laquo; Git for Gnome [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bronson</title>
		<link>http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/comment-page-1/#comment-6</link>
		<dc:creator>bronson</dc:creator>
		<pubDate>Tue, 18 Sep 2007 17:59:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/#comment-6</guid>
		<description>The index is now called the staging area.  It stages the pending commit.  This is what it should have been called all along!

@Marko: Why &#039;git add&#039; when you&#039;ve already added a file?  Because, in git&#039;s opinion, svn&#039;s policy of automatically committing every change it can find is reckless.  It&#039;s easy to explicitly add files to the commit each time, and it cuts down on mistakes (like checking important passwords into the repository, oops).  Personally, I much prefer this approach.

But, as Shaun says, if you don&#039;t like creating each changeset by hand, you can just use &#039;git commit -a&#039; to just use the shotgun approach.</description>
		<content:encoded><![CDATA[<p>The index is now called the staging area.  It stages the pending commit.  This is what it should have been called all along!</p>
<p>@Marko: Why &#8216;git add&#8217; when you&#8217;ve already added a file?  Because, in git&#8217;s opinion, svn&#8217;s policy of automatically committing every change it can find is reckless.  It&#8217;s easy to explicitly add files to the commit each time, and it cuts down on mistakes (like checking important passwords into the repository, oops).  Personally, I much prefer this approach.</p>
<p>But, as Shaun says, if you don&#8217;t like creating each changeset by hand, you can just use &#8216;git commit -a&#8217; to just use the shotgun approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniel</title>
		<link>http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/comment-page-1/#comment-5</link>
		<dc:creator>daniel</dc:creator>
		<pubDate>Tue, 18 Sep 2007 12:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/#comment-5</guid>
		<description>-git pull
+git fetch &amp;&amp; git rebase origin

so you don&#039;t end up with 10000000 merge changesets</description>
		<content:encoded><![CDATA[<p>-git pull<br />
+git fetch &amp;&amp; git rebase origin</p>
<p>so you don&#8217;t end up with 10000000 merge changesets</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko Anastasov</title>
		<link>http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/comment-page-1/#comment-4</link>
		<dc:creator>Marko Anastasov</dc:creator>
		<pubDate>Tue, 18 Sep 2007 10:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/#comment-4</guid>
		<description>To me it is not clear in your post whether it is necessary to do &#039;git add&#039; before committing - it certainly isn&#039;t and... why would you want to do it?

&#039;git status&#039; is also useful of course.

It is necessary to do &#039;git gc&#039; occasionally to &quot;reduce disk space and increase performance&quot; - eg running &#039;git log&#039; and &#039;gitk&#039; will always be fast.

You only need to push the tag if you&#039;ve tagged a commit that has already been pushed in the repository, otherwise it goes along with the commits with &#039;git push&#039;.

&#039;git rebase&#039; is important because it makes your local commits in sync with the updated upstream head, ie the local commits are moved forward to start from the new head.</description>
		<content:encoded><![CDATA[<p>To me it is not clear in your post whether it is necessary to do &#8216;git add&#8217; before committing &#8211; it certainly isn&#8217;t and&#8230; why would you want to do it?</p>
<p>&#8216;git status&#8217; is also useful of course.</p>
<p>It is necessary to do &#8216;git gc&#8217; occasionally to &#8220;reduce disk space and increase performance&#8221; &#8211; eg running &#8216;git log&#8217; and &#8216;gitk&#8217; will always be fast.</p>
<p>You only need to push the tag if you&#8217;ve tagged a commit that has already been pushed in the repository, otherwise it goes along with the commits with &#8216;git push&#8217;.</p>
<p>&#8216;git rebase&#8217; is important because it makes your local commits in sync with the updated upstream head, ie the local commits are moved forward to start from the new head.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders Olsson</title>
		<link>http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/comment-page-1/#comment-3</link>
		<dc:creator>Anders Olsson</dc:creator>
		<pubDate>Tue, 18 Sep 2007 08:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/#comment-3</guid>
		<description>I agree, I haven&#039;t seen much written on using git with central repositories. Excellent intro, this one goes into my collection of git-references!</description>
		<content:encoded><![CDATA[<p>I agree, I haven&#8217;t seen much written on using git with central repositories. Excellent intro, this one goes into my collection of git-references!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: behdad</title>
		<link>http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/comment-page-1/#comment-2</link>
		<dc:creator>behdad</dc:creator>
		<pubDate>Tue, 18 Sep 2007 01:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/#comment-2</guid>
		<description>Hi,

Excellent writeup from our Editor-in-Chief, thanks!

Couple comments:

&quot;git checkout -b new-branch&quot; comes handy.  That creates the branch and switches to it.

Instead of git-pull, many of us use git-fetch followed by &quot;git-rebase origin/master&quot;.  That ports your changes to the latest upstream development instead of leaving you with one of those useless &quot;merge&quot; commits.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Excellent writeup from our Editor-in-Chief, thanks!</p>
<p>Couple comments:</p>
<p>&#8220;git checkout -b new-branch&#8221; comes handy.  That creates the branch and switches to it.</p>
<p>Instead of git-pull, many of us use git-fetch followed by &#8220;git-rebase origin/master&#8221;.  That ports your changes to the latest upstream development instead of leaving you with one of those useless &#8220;merge&#8221; commits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandy</title>
		<link>http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/comment-page-1/#comment-1</link>
		<dc:creator>Sandy</dc:creator>
		<pubDate>Mon, 17 Sep 2007 23:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/shaunm/2007/09/17/git-for-gnome/#comment-1</guid>
		<description>Shaun, thanks for posting this; it helps to clarify how a normal GNOME project would use git.  I&#039;m glad I managed to read past the heretic statement of &quot;I actually like CVS more than I like SVN.&quot;  :-)

It would be cool to see this on l.g.o, similar to http://live.gnome.org/GitForGnomeDevelopers (which focuses on using git-svn on existing GNOME infrastructure).</description>
		<content:encoded><![CDATA[<p>Shaun, thanks for posting this; it helps to clarify how a normal GNOME project would use git.  I&#8217;m glad I managed to read past the heretic statement of &#8220;I actually like CVS more than I like SVN.&#8221;  <img src='http://blogs.gnome.org/shaunm/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>It would be cool to see this on l.g.o, similar to <a href="http://live.gnome.org/GitForGnomeDevelopers" rel="nofollow">http://live.gnome.org/GitForGnomeDevelopers</a> (which focuses on using git-svn on existing GNOME infrastructure).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
