<?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>evardsson.com: stuff that w0rks &#187; git</title>
	<atom:link href="http://www.evardsson.com/blog/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evardsson.com/blog</link>
	<description>tweaks and hacks, php, python, music, home and ???</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:25:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>My thoughts on Git</title>
		<link>http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/</link>
		<comments>http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/#comments</comments>
		<pubDate>Sat, 30 May 2009 18:59:55 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Subversion]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/?p=328</guid>
		<description><![CDATA[I have been working with Git for a while now, and I have a few thoughts about it. I am used to the SVN model, where multiple developers check out of a central repository, make changes locally and then commit them back to the repo (and repair failed merges). While SVN is not perfect, at [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working with <a href="http://git-scm.com/">Git</a> for a while now, and I have a few thoughts about it. I am used to the <a href="http://subversion.tigris.org">SVN</a> model, where multiple developers check out of a central repository, make changes locally and then commit them back to the repo (and repair failed merges). While SVN is not perfect, at least I am comfortable with it and know what to expect from it. While some of my issues with Git may relate solely to my relative unfamiliarity with it, at least it seems like I am not the only one with issues.</p>
<p>In reading through the man pages and all the documentation I can find on line (including the <a href="http://git.or.cz/course/svn.html">Git &#8211; SVN Crash Course</a>) I was totally unprepared for what actually happens. According to the Crash Course <code>git commit -a</code> does the same thing as <code>svn commit</code>, but that is not quite the case. After a commit the files still need to be moved to the repo. So as I am looking for the best way to do that I find <code>git push</code>. Well, it would seem to me that firing off a <code>git push</code> would mean that I want the files I have modified and committed to merge into the repo I checked them out of. But that isn&#8217;t quite what happens if there are any working directories checked out the repo (meaning the one you are working on). It seems that the only way to properly get the files back into the repo is to issue a <code>git pull</code> from the repo aimed at your working branch. Hans Fugal said it best in his post from last year: <a href="http://hans.fugal.net/blog/2008/11/10/git-push-is-worse-than-worthless">git-push is less than worthless</a>.</p>
<p>What this means is that I am unable to easily move changes from my laptop to the server. Instead, in order to reduce the number of steps I need to take I check out the repo I am working on (<code>git clone</code>) in my home directory on the server and then use sshfs to mount that directory locally. I do my work there, and then ssh in to the working directory, fire off <code>git commit -a</code> and then cd to the repo to pull from the working directory. Of course this seriously hampers my ability to work offline (as in I can&#8217;t). While I am sure there are plenty of good things about Git I am not yet really seeing them. With the exception of <code>git stash</code> I have yet to be wowed by anything Git has to offer. In the interest of fairness, however, I have not been incredibly wowed by anything SVN has to offer either, I just find it easier to use.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=My+thoughts+on+Git+http://iqabp.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;submitHeadline=My+thoughts+on+Git" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;submitHeadline=My+thoughts+on+Git" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;title=My+thoughts+on+Git" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;title=My+thoughts+on+Git" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;title=My+thoughts+on+Git" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;title=My+thoughts+on+Git" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=My+thoughts+on+Git&amp;link=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=My+thoughts+on+Git&amp;link=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;title=My+thoughts+on+Git" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;title=My+thoughts+on+Git" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;title=My+thoughts+on+Git" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/&amp;title=My+thoughts+on+Git" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2009/05/30/my-thoughts-on-git/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
