<?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>42 &#187; git</title>
	<atom:link href="http://www.42.mach7x.com/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.42.mach7x.com</link>
	<description>Thoughts and tips about programming with Ruby on Rails</description>
	<lastBuildDate>Fri, 06 Aug 2010 11:57:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Getting your Github git project to dreamhost</title>
		<link>http://www.42.mach7x.com/2010/03/12/getting-your-github-git-project-to-dreamhost/</link>
		<comments>http://www.42.mach7x.com/2010/03/12/getting-your-github-git-project-to-dreamhost/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 10:17:06 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[github]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=170</guid>
		<description><![CDATA[Problem You already have a project in github, but you want to move it to a different host (ie dreamhost) Solution Following the post here that describes how to setup a new git repository in dreamhost, the only difference after the initial setup : ssh username@dreamhost_domain.com mkdir -p ~/git/yourproject.git cd ~/git/yourproject.git git &#8211;bare init is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You already have a project in github, but you want to move it to a different host (ie dreamhost)</p>
<p><strong>Solution</strong><br />
Following the post <a href="http://railstips.org/blog/archives/2008/11/23/gitn-your-shared-host-on/">here</a> that describes how to setup a new git repository in dreamhost, the only difference after the initial setup :</p>
<p><span class="code">ssh username@dreamhost_domain.com</br><br />
mkdir -p ~/git/yourproject.git</br><br />
cd ~/git/yourproject.git</br><br />
git &#8211;bare init</span></p>
<p>is to edit your project&#8217;s .git/config file:<br />
<span class="code">vi local_host/your_project/.git/config</span></p>
<p>and change the :<br />
<span class="code">url = git@github.com:user_name/project_name.git</span></p>
<p>to the following:<br />
<span class="code">ssh://dreamhost_username@dreamhost_domain/~/git/yourproject.git</span></p>
<p>Lastly you have to push for the first time to the server:<br />
<span class="code">git push origin master</span></p>
<p>Optionally if you would like to check and/or checkout to a different pc you can use:<br />
<span class="code">git clone ssh://dreamhost_username@dreamhost_domain/~/git/yourproject.git</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2010/03/12/getting-your-github-git-project-to-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git and Mandriva</title>
		<link>http://www.42.mach7x.com/2008/10/02/git-and-mandriva/</link>
		<comments>http://www.42.mach7x.com/2008/10/02/git-and-mandriva/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 10:54:23 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[urpmi]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=51</guid>
		<description><![CDATA[Problem You want to install the git (Fast version control system) in Mandriva, but using: urpmi git installs the GNU Interactive Tools. Solution Use the following to install the version control system urpmi git-core]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You want to install the git (<a href="http://git.or.cz/">Fast version control system</a>) in Mandriva, but using:</p>
<pre class="code">urpmi git</pre>
<p>installs the <a href="http://www.gnu.org/software/gnuit/">GNU Interactive Tools</a>.</p>
<p><strong>Solution</strong><br />
Use the following to install the version control system</p>
<pre code="class">urpmi git-core</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2008/10/02/git-and-mandriva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git: fatal error: `chdir&#8217; failed: permission denied.</title>
		<link>http://www.42.mach7x.com/2008/04/24/git-fatal-error-chdir-failed-permission-denied/</link>
		<comments>http://www.42.mach7x.com/2008/04/24/git-fatal-error-chdir-failed-permission-denied/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 13:20:30 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[Mandriva]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=30</guid>
		<description><![CDATA[Problem Trying to use the heroku gem to clone a project and do local modifications I got the following error: git: fatal error: `chdir' failed: permission denied. Solution It turns out that in Mandriva, when using: sudo urpmi git what gets installed is the &#8216;GNU Interactive Tools&#8217; that has nothing to do with the git [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
Trying to use the heroku gem to clone a project and do local modifications I got the following error:</p>
<pre class="code">git: fatal error: `chdir' failed: permission denied.</pre>
<p><strong>Solution</strong><br />
It turns out that in Mandriva, when using:</p>
<pre class="code">sudo urpmi git</pre>
<p>what gets installed is the &#8216;GNU Interactive Tools&#8217; that has nothing to do with the git version control system.<br />
So make sure you first uninstall the git installed:</p>
<pre class="code">sudo rpm -e git</pre>
<p>and then install the Git &#8211; Fast version control system, by doing:</p>
<pre class="code">sudo urpmi git-core</pre>
<p>You should then be able to clone a heroku application:</p>
<pre class="code">heroku clone myapp</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2008/04/24/git-fatal-error-chdir-failed-permission-denied/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
