<?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>Pass By Value &#187; scm</title>
	<atom:link href="http://passbyvalue.com/tag/scm/feed/" rel="self" type="application/rss+xml" />
	<link>http://passbyvalue.com</link>
	<description>... or is it pass by reference?</description>
	<lastBuildDate>Thu, 26 Jan 2012 03:09:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Git repositories with Slicehost</title>
		<link>http://passbyvalue.com/2009/12/git-repositories-with-slicehost/</link>
		<comments>http://passbyvalue.com/2009/12/git-repositories-with-slicehost/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 11:31:09 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Software development]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[slicehost]]></category>

		<guid isPermaLink="false">http://passbyvalue.com/?p=157</guid>
		<description><![CDATA[No doubt I am really happy with my Slicehost VPS, it has been so hassle free!  The best part about Slicehost is all the amazing articles they provide to help you get going with your slice. I&#8217;ve setup my slice to host my private git repositories, particularly since I wanted to use them with Rails [...]]]></description>
			<content:encoded><![CDATA[<p>No doubt I am really happy with my <a href="http://www.slicehost.com">Slicehost</a> VPS, it has been so hassle free!  The best part about Slicehost is all the amazing articles they provide to help you get going with your slice.</p>
<p>I&#8217;ve setup my slice to host my private git repositories, particularly since I wanted to use them with Rails and Capistrano.  This article provide to be just what I needed:</p>
<p><a href="http://articles.slicehost.com/2009/5/13/capistrano-series-setting-up-git">http://articles.slicehost.com/2009/5/13/capistrano-series-setting-up-git</a></p>
<p>The article even shows you how to secure the shell that the git user has to avoid anyone SSHing into your box with their ID.  However, it doesn&#8217;t tell you what to do when you want to create another repository as you cannot switch to the git user while ever it is using the git-shell as opposed to a normal shell.  The trick is you need to switch with the root user as only they are allowed to provide an alternative shell.  Here are the commands once you have logged into your slice with a user that is able to sudo:</p>
<div class="codecolorer-container bash railscasts" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #660033;">--shell</span> <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span> <span style="color: #c20cb9; font-weight: bold;">git</span><br />
$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">git</span><br />
$ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> project2<br />
$ <span style="color: #7a0874; font-weight: bold;">cd</span> project2<br />
$ <span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #660033;">--bare</span> init<br />
$ <span style="color: #7a0874; font-weight: bold;">exit</span></div></div>
<p>Now your repository is good to go and you can follow the steps from &#8220;Making your first commit&#8221; section.</p>
]]></content:encoded>
			<wfw:commentRss>http://passbyvalue.com/2009/12/git-repositories-with-slicehost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git for dummies</title>
		<link>http://passbyvalue.com/2009/01/git-for-dummies/</link>
		<comments>http://passbyvalue.com/2009/01/git-for-dummies/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 06:41:44 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Software development]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://blog.passbyvalue.com/?p=45</guid>
		<description><![CDATA[Only just started to finally get stuck into learning git. It certainly seems to be revolutionising the way we do version control. I&#8217;m pretty hooked on subversion and I have to admit, I thought that was as good as it gets! But the hype around git to much to ignore. Here&#8217;s some resources I&#8217;ve found [...]]]></description>
			<content:encoded><![CDATA[<p>Only just started to finally get stuck into learning <a href="http://git-scm.com/">git</a>.  It certainly seems to be revolutionising the way we do version control.  I&#8217;m pretty hooked on <a href="http://subversion.tigris.org/">subversion</a> and I have to admit, I thought that was as good as it gets!  But the hype around git to much to ignore.</p>
<p>Here&#8217;s some resources I&#8217;ve found really useful to get (git) going:</p>
<h3>Resources</h3>
<ul>
<li><a href="http://feeds.feedburner.com/Gitcasts">GitCasts</a> by Scott Chacon.  Screencasts are for me one of the best ways to learn things, these casts, although very quick, give you that good leg up.</li>
<li><a href="http://www.newartisans.com/blog/2008/04/git-from-the-bottom-up.html">Git from the bottom up</a> by John Wiegley.  There is a link from his blog entry to a paper he has put together on his understanding of Git.  Always good to read some theory!</li>
<li><a href="http://git-scm.com/course/svn.html">Git &#8211; SVN crash course</a> from the offical git site.  A great place to start if like me, you&#8217;re already familiar with svn.</li>
<li>Github&#8217;s <a href="http://github.com/guides/git-cheat-sheet">Git Cheat Sheet</a> is a good resource too!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://passbyvalue.com/2009/01/git-for-dummies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

