<?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>redconfettigit | redconfetti</title>
	<atom:link href="http://www.redconfetti.com/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redconfetti.com</link>
	<description>the journal of maxwell keyes</description>
	<lastBuildDate>Tue, 24 Jan 2012 17:04:22 +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>Deleting Git Branches in Remote Repository</title>
		<link>http://www.redconfetti.com/2012/01/deleting-git-branches-in-remote-repository/</link>
		<comments>http://www.redconfetti.com/2012/01/deleting-git-branches-in-remote-repository/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 17:04:09 +0000</pubDate>
		<dc:creator>redconfetti</dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[branch]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.redconfetti.com/?p=1046</guid>
		<description><![CDATA[I had recently used a branch to handle all the modifications I was making to a system for a Rails 3.1 upgrade from Rails 2.4.3. After I merged my changes back into the master branch, I deleted the &#8216;rails3&#8242; branch locally, but it still remained on the remote server. I found that &#8216;git push origin...]]></description>
			<content:encoded><![CDATA[<p>I had recently used a branch to handle all the modifications I was making to a system for a Rails 3.1 upgrade from Rails 2.4.3. After I merged my changes back into the master branch, I deleted the &#8216;rails3&#8242; branch locally, but it still remained on the remote server.</p>
<p>I found that &#8216;git push origin :branch_name&#8217; will delete the repository from the remote server if the branch has been removed locally.</p>
<pre class="brush:shell">
$ git push origin :rails3
To git@redconfetti.com:myrepo.git
 - [deleted]         rails3
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.redconfetti.com/2012/01/deleting-git-branches-in-remote-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Deployment for Rails using Capistrano, Apache with Passenger and Git</title>
		<link>http://www.redconfetti.com/2010/07/setting-up-deployment-for-rails-using-capistrano-apache-with-passenger-and-git/</link>
		<comments>http://www.redconfetti.com/2010/07/setting-up-deployment-for-rails-using-capistrano-apache-with-passenger-and-git/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 03:48:23 +0000</pubDate>
		<dc:creator>redconfetti</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.redconfetti.com/?p=556</guid>
		<description><![CDATA[I don&#8217;t have time right now to learn how to setup Capistrano. I just want a recipe that works and does the job. Here are my notes. 1) First install the Capistrano gem sudo gem install capistrano 2) Next you need to go into the directory of your Ruby on Rails application and capify it:...]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t have time right now to learn how to setup Capistrano. I just want a recipe that works and does the job. Here are my notes.</p>
<p>1) First install the Capistrano gem</p>
<pre class="brush:bash">sudo gem install capistrano</pre>
<p>2) Next you need to go into the directory of your Ruby on Rails application and capify it:</p>
<pre class="brush:bash">capify .</pre>
<p>3) Next I recommend this article (I&#8217;ll rip off the deploy.rb soon and post it here)</p>
<p><a href="http://www.zorched.net/2008/06/17/capistrano-deploy-with-git-and-passenger/" target="_blank">http://www.zorched.net/2008/06/17/capistrano-deploy-with-git-and-passenger/</a></p>
<p>4) Once you&#8217;ve configured your deploy.rb, run this command to have it setup the directories on the remote server (releases, shared, logs, etc).</p>
<pre class="brush:bash">cap deploy:setup</pre>
<p>5) Next run this command to get the list of other capistrano commands you can run:</p>
<pre class="brush:bash">cap -T</pre>
<p>The output should look like</p>
<pre class="brush:bash">
cap deploy               # Deploys your project.
cap deploy:check         # Test deployment dependencies.
cap deploy:cleanup       # Clean up old releases.
cap deploy:cold          # Deploys and starts a `cold' application.
cap deploy:migrate       # Run the migrate rake task.
cap deploy:migrations    # Deploy and run pending migrations.
cap deploy:pending       # Displays the commits since your last deploy.
cap deploy:pending:diff  # Displays the `diff' since your last deploy.
cap deploy:restart       # Restarting mod_rails with restart.txt
cap deploy:rollback      # Rolls back to a previous version and restarts.
cap deploy:rollback:code # Rolls back to the previously deployed version.
cap deploy:setup         # Prepares one or more servers for deployment.
cap deploy:start         # start task is a no-op with mod_rails
cap deploy:stop          # stop task is a no-op with mod_rails
cap deploy:symlink       # Updates the symlink to the most recently deployed ...
cap deploy:update        # Copies your project and updates the symlink.
cap deploy:update_code   # Copies your project to the remote servers.
cap deploy:upload        # Copy files to the currently deployed version.
cap deploy:web:disable   # Present a maintenance page to visitors.
cap deploy:web:enable    # Makes the application web-accessible again.
cap invoke               # Invoke a single command on the remote servers.
cap shell                # Begin an interactive Capistrano session.
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.redconfetti.com/2010/07/setting-up-deployment-for-rails-using-capistrano-apache-with-passenger-and-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

