<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Git over SSHFS</title>
	<atom:link href="http://alan.lamielle.net/2009/07/08/git-over-sshfs/feed" rel="self" type="application/rss+xml" />
	<link>http://alan.lamielle.net/2009/07/08/git-over-sshfs</link>
	<description>Alan LaMielle</description>
	<lastBuildDate>Mon, 06 Feb 2012 17:01:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Rui Abreu</title>
		<link>http://alan.lamielle.net/2009/07/08/git-over-sshfs/comment-page-1#comment-1387</link>
		<dc:creator>Rui Abreu</dc:creator>
		<pubDate>Thu, 29 Dec 2011 20:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://alan.lamielle.net/?p=235#comment-1387</guid>
		<description>Thank you !</description>
		<content:encoded><![CDATA[<p>Thank you !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olav Cleemann</title>
		<link>http://alan.lamielle.net/2009/07/08/git-over-sshfs/comment-page-1#comment-1235</link>
		<dc:creator>Olav Cleemann</dc:creator>
		<pubDate>Tue, 20 Dec 2011 10:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://alan.lamielle.net/?p=235#comment-1235</guid>
		<description>Me = happy camper :)

Nice tip.</description>
		<content:encoded><![CDATA[<p>Me = happy camper <img src='http://alan.lamielle.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Nice tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yann Droneaud</title>
		<link>http://alan.lamielle.net/2009/07/08/git-over-sshfs/comment-page-1#comment-637</link>
		<dc:creator>Yann Droneaud</dc:creator>
		<pubDate>Mon, 21 Feb 2011 09:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://alan.lamielle.net/?p=235#comment-637</guid>
		<description>You might want to use option &quot;-o noforget&quot; too. See this thread: 

On marc.info:
http://marc.info/?l=git&amp;m=129789551203755&amp;w=2
http://marc.info/?t=129789546800002&amp;r=1&amp;w=2

Or on gmane:
http://thread.gmane.org/gmane.comp.file-systems.fuse.sshfs/1136</description>
		<content:encoded><![CDATA[<p>You might want to use option &#8220;-o noforget&#8221; too. See this thread: </p>
<p>On marc.info:<br />
<a href="http://marc.info/?l=git&#038;m=129789551203755&#038;w=2" rel="nofollow">http://marc.info/?l=git&#038;m=129789551203755&#038;w=2</a><br />
<a href="http://marc.info/?t=129789546800002&#038;r=1&#038;w=2" rel="nofollow">http://marc.info/?t=129789546800002&#038;r=1&#038;w=2</a></p>
<p>Or on gmane:<br />
<a href="http://thread.gmane.org/gmane.comp.file-systems.fuse.sshfs/1136" rel="nofollow">http://thread.gmane.org/gmane.comp.file-systems.fuse.sshfs/1136</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://alan.lamielle.net/2009/07/08/git-over-sshfs/comment-page-1#comment-514</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 16 Dec 2010 23:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://alan.lamielle.net/?p=235#comment-514</guid>
		<description>Thanks for publishing this tip!  Just saved me a lot of time and frustration...</description>
		<content:encoded><![CDATA[<p>Thanks for publishing this tip!  Just saved me a lot of time and frustration&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan LaMielle</title>
		<link>http://alan.lamielle.net/2009/07/08/git-over-sshfs/comment-page-1#comment-214</link>
		<dc:creator>Alan LaMielle</dc:creator>
		<pubDate>Fri, 26 Feb 2010 17:47:09 +0000</pubDate>
		<guid isPermaLink="false">http://alan.lamielle.net/?p=235#comment-214</guid>
		<description>Ouch, sounds like even more of a restricted setup than I had.  Thanks for the additional tips.  Yes, I did notice that git over sshfs was a bit slower.  However, I didn&#039;t have ~50mb projects, so I probably didn&#039;t see as much of an impact as you did.</description>
		<content:encoded><![CDATA[<p>Ouch, sounds like even more of a restricted setup than I had.  Thanks for the additional tips.  Yes, I did notice that git over sshfs was a bit slower.  However, I didn&#8217;t have ~50mb projects, so I probably didn&#8217;t see as much of an impact as you did.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://alan.lamielle.net/2009/07/08/git-over-sshfs/comment-page-1#comment-212</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 24 Feb 2010 23:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://alan.lamielle.net/?p=235#comment-212</guid>
		<description>I ran into a similar problem. My remote machine lacks many of the useful tools on my local development machine, namely vim and git.

However I have the added problem of working on a shared server and am limited to a user account that is not in the sudoers file. Since the account that I develop with on my machine is not the same as my account on the remote server, git was failing with a &quot;could not commit config file&quot; error.

So, on my local machine, I created a user and group to mimic the user and group on the remote machine. (Notice that I am already root. If you don&#039;t like to roll as root, you&#039;ll have to use sudo).

root@bitbox: addgroup --gid=1235 studmuffins
root@bitbox: adduser andrew --uid=1234 --ingroup studmuffins

Then, I had to add a couple more options to the sshfs command in addition to the workaround:

root@bitbox: sshfs -o workaround=rename -o allow_other -o uid=1234 -o gid=1235 andrew@shittyhost.com:/path/to/remote/dir /path/to/local/mountpoint

So far, this seems to be working. But a WARNING to everybody using git over sshfs is very, veeeeery, sloooooooooooooooooowwwwwwww. For instance, I tried doing:

git add *

It took about 30 minutes for a 60MB project, only to fail entirely due to permission issues on a single file. Suck.</description>
		<content:encoded><![CDATA[<p>I ran into a similar problem. My remote machine lacks many of the useful tools on my local development machine, namely vim and git.</p>
<p>However I have the added problem of working on a shared server and am limited to a user account that is not in the sudoers file. Since the account that I develop with on my machine is not the same as my account on the remote server, git was failing with a &#8220;could not commit config file&#8221; error.</p>
<p>So, on my local machine, I created a user and group to mimic the user and group on the remote machine. (Notice that I am already root. If you don&#8217;t like to roll as root, you&#8217;ll have to use sudo).</p>
<p>root@bitbox: addgroup &#8211;gid=1235 studmuffins<br />
root@bitbox: adduser andrew &#8211;uid=1234 &#8211;ingroup studmuffins</p>
<p>Then, I had to add a couple more options to the sshfs command in addition to the workaround:</p>
<p>root@bitbox: sshfs -o workaround=rename -o allow_other -o uid=1234 -o gid=1235 <a href="mailto:andrew@shittyhost.com">andrew@shittyhost.com</a>:/path/to/remote/dir /path/to/local/mountpoint</p>
<p>So far, this seems to be working. But a WARNING to everybody using git over sshfs is very, veeeeery, sloooooooooooooooooowwwwwwww. For instance, I tried doing:</p>
<p>git add *</p>
<p>It took about 30 minutes for a 60MB project, only to fail entirely due to permission issues on a single file. Suck.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

