<?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>Matt Robinson &#187; git</title>
	<atom:link href="http://www.mattrobinson.net/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattrobinson.net</link>
	<description>Nerding Out Since the Distant Future</description>
	<lastBuildDate>Mon, 12 Jul 2010 14:56:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Put Your rc, Config Files and More Under Source Control</title>
		<link>http://www.mattrobinson.net/2009/06/21/put-your-rc-config-files-and-more-under-source-control/</link>
		<comments>http://www.mattrobinson.net/2009/06/21/put-your-rc-config-files-and-more-under-source-control/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 02:08:07 +0000</pubDate>
		<dc:creator>mattr</dc:creator>
				<category><![CDATA[Recommended Stuff]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.mattrobinson.net/?p=33</guid>
		<description><![CDATA[I&#8217;ve been working on more and more computers lately, and I was getting tired of my favorite bash and editor shortcuts not being available between the different machines.  I finally took some good advice I heard a while back and put my config files under source control, and it&#8217;s been one of the best [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on more and more computers lately, and I was getting tired of my favorite bash and editor shortcuts not being available between the different machines.  I finally took some good advice I heard a while back and put my config files under source control, and it&#8217;s been one of the best tips I&#8217;ve followed in some time.</p>
<p>The way I&#8217;ve done it is to use <a href="http://www.github.com/mmrobins">GitHub</a> to store my config files, so anyone else is free to take a look if they want to see how I&#8217;ve got vim, bash, screen, readline, ruby&#8217;s irb or other things configured.  However, the biggest benefit is that I can quickly get a new machine customized with all my favorite settings just by doing a checkout (clone in git) into my home directory on the new machine.  From there I&#8217;ve got a little script I run called &#8216;create_symlinks&#8217; that backs up the old config files before overwriting them with symlinks that point to the files in my checkout.  That way, whenever I update my repository, the files are automatically current.</p>
<p>This has been immensely helpful in taking the tricks I learn at work and easily incorporating them at home or on any remote server I have to do work.  If I add something new and cool to my vimrc at work, I just have to remember to commit it and push the changes to GitHub before I head home, and then I can continue working from home without having to remember whatever command I just automated.</p>
<p>I&#8217;ve even heard of people who go so far as to put their whole home directories under version control as a way of not only moving files around, but as a way of doing backups.  That seems overkill to me, but it&#8217;s worth thinking about what sorts of files we move around a lot might be easily moved and backed up using a source control system like git or SVN.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattrobinson.net/2009/06/21/put-your-rc-config-files-and-more-under-source-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
