<?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; proxy</title>
	<atom:link href="http://passbyvalue.com/tag/proxy/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>Accessing github from behind a proxy</title>
		<link>http://passbyvalue.com/2009/01/accessing-github-from-behind-a-proxy/</link>
		<comments>http://passbyvalue.com/2009/01/accessing-github-from-behind-a-proxy/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 04:11:36 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Software development]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://blog.passbyvalue.com/?p=40</guid>
		<description><![CDATA[If you&#8217;re behind a proxy which restricts outbound ports (i.e. only port 80 and 443), then you&#8217;ll be pleased to know that you can still access Github. Rather than using the git:// protocol (defaulting to port 9418), you can use the HTTP protocol to do the same thing! Article on Github about it here. git [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re behind a proxy which restricts outbound ports (i.e. only port 80 and 443), then you&#8217;ll be pleased to know that you can still access <a href="http://github.com/">Github</a>.</p>
<p>Rather than using the git:// protocol (defaulting to port <a href="http://www.kernel.org/pub/software/scm/git/docs/git-daemon.html">9418</a>), you can use the HTTP protocol to do the same thing!  Article on Github about it <a href="http://github.com/blog/92-http-cloning">here</a>.</p>
<pre lang="bash">git clone http://github.com/justinfrench/formtastic.git</pre>
<p>It also works for Rails plugins!</p>
<pre lang="bash">script/plugin install http://github.com/justinfrench/formtastic.git</pre>
<p>Don&#8217;t forgot you need to set environment variable <span style="font-weight: bold;">http_proxy</span> to tell Git to use the proxy or or can set it in git-config.  The example below sets it at the global level:</p>
<pre lang="bash">git config --global --add http.proxy http://myproxy:8080</pre>
]]></content:encoded>
			<wfw:commentRss>http://passbyvalue.com/2009/01/accessing-github-from-behind-a-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

