<?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>Chris Johnston &#187; Git</title>
	<atom:link href="http://www.fuzzylizard.com/archives/category/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fuzzylizard.com</link>
	<description>Web development and design with a little VFX thrown in for fun</description>
	<lastBuildDate>Sun, 30 Oct 2011 14:23:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Tip &#8211; use github to &#8220;steal&#8221; code</title>
		<link>http://www.fuzzylizard.com/archives/2011/01/14/1083/</link>
		<comments>http://www.fuzzylizard.com/archives/2011/01/14/1083/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 02:34:28 +0000</pubDate>
		<dc:creator>Chris Johnston</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.fuzzylizard.com/?p=1083</guid>
		<description><![CDATA[One trick that I use when I can figure out an API or how to test something (like testing controllers that use AuthLogic) is to look for the particular method––in this case activate_authlogic––on github and look at how other developers use it. One of the problems with tutorials and documentation is that it never shows [...]]]></description>
			<content:encoded><![CDATA[<p>One trick that I use when I can figure out an API or how to test something (like testing controllers that use AuthLogic) is to look for the particular method––in this case <code>activate_authlogic</code>––on <a href="http://github.com">github</a> and look at how other developers use it. </p>
<p>One of the problems with tutorials and documentation is that it never shows how to test code that uses the gem. This was the case for me today with <a href="https://github.com/binarylogic/authlogic">AuthLogic</a>. I was having a hard time figuring out where to put <code>activate_authlogic</code> and the code for logging in a user in order to test a controller. A quick search on github provided more than enough examples for both <a href="http://rspec.info/">RSpec</a> and <a href="http://ruby-doc.org/stdlib/libdoc/test/unit/rdoc/classes/Test/Unit.html">Test::Unit</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fuzzylizard.com/archives/2011/01/14/1083/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Github trick &#8211; associate commits with your user account</title>
		<link>http://www.fuzzylizard.com/archives/2008/05/09/940/</link>
		<comments>http://www.fuzzylizard.com/archives/2008/05/09/940/#comments</comments>
		<pubDate>Fri, 09 May 2008 05:30:16 +0000</pubDate>
		<dc:creator>Chris Johnston</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.fuzzylizard.com/?p=940</guid>
		<description><![CDATA[On Github, in order to have your commits associated with your github user account, the email address you use when pushing code to the origin must match an email address associated with your github account. This is something I discovered after noticing that my commits were showing up as grey and not blue on the [...]]]></description>
			<content:encoded><![CDATA[<p>On Github, in order to have your commits associated with your github user account, the email address you use when pushing code to the origin must match an email address associated with your github account. This is something I discovered after noticing that my commits were showing up as grey and not blue on the activity bar.</p>
<p>Setting your git email account is really easy. There are two different ways of doing it. First, you can directly edit your <code>.git/config</code> file and add a section like this:</p>
<pre>
[user]
	email = you@example.com
	name = Your Name
</pre>
<p>The second method is by using the following command from the root folder of your project:</p>
<pre>
git config user.name "Your Name"
git config user.email "you@example.com"
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.fuzzylizard.com/archives/2008/05/09/940/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

