<?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: Sharing git repositories</title>
	<atom:link href="http://www.news.software.coop/sharing-git-repositories/791/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.news.software.coop/sharing-git-repositories/791/</link>
	<description>Updates seen at the co-operative for Software</description>
	<lastBuildDate>Sat, 04 Sep 2010 21:25:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bogdan</title>
		<link>http://www.news.software.coop/sharing-git-repositories/791/comment-page-1/#comment-16959</link>
		<dc:creator>Bogdan</dc:creator>
		<pubDate>Sun, 01 Nov 2009 16:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.news.software.coop/sharing-git-repositories/791/#comment-16959</guid>
		<description>I have been using gitosis for over a year now, and it is indeed a useful piece of software (I&#039;m hosting ~6 projects using gitosis). However, I am not familiar with &quot;shared repository&quot; concept (unless that is just a repository with access allowed to someone else - other than yourself).


Does someone have experience sharing the same git repository between Linux and Windows? e.g. I have a /mnt/d/ NTFS partition, which has my &quot;project&quot; git repository; I also have msys-git installed under windows, which accesses that repository at D:\projects\. The problem is that while &quot;git pull; git status&quot; under linux shows no changes to commit, reboot into windows and &quot;git status&quot; shows quite a number of &quot;modified&quot; files.

I haven&#039;t yet had courage to do &quot;git reset --hard&quot; in windows to see if that fixes the problem (the repository is too large to restore over the network).

Any suggestions are welcome (I&#039;m subscribed to followup comments).</description>
		<content:encoded><![CDATA[<p>I have been using gitosis for over a year now, and it is indeed a useful piece of software (I&#8217;m hosting ~6 projects using gitosis). However, I am not familiar with &#8220;shared repository&#8221; concept (unless that is just a repository with access allowed to someone else &#8211; other than yourself).</p>
<p>Does someone have experience sharing the same git repository between Linux and Windows? e.g. I have a /mnt/d/ NTFS partition, which has my &#8220;project&#8221; git repository; I also have msys-git installed under windows, which accesses that repository at D:\projects\. The problem is that while &#8220;git pull; git status&#8221; under linux shows no changes to commit, reboot into windows and &#8220;git status&#8221; shows quite a number of &#8220;modified&#8221; files.</p>
<p>I haven&#8217;t yet had courage to do &#8220;git reset &#8211;hard&#8221; in windows to see if that fixes the problem (the repository is too large to restore over the network).</p>
<p>Any suggestions are welcome (I&#8217;m subscribed to followup comments).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Hands</title>
		<link>http://www.news.software.coop/sharing-git-repositories/791/comment-page-1/#comment-16274</link>
		<dc:creator>Philip Hands</dc:creator>
		<pubDate>Thu, 22 Oct 2009 08:19:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.news.software.coop/sharing-git-repositories/791/#comment-16274</guid>
		<description>gitosis liberates you from the &quot;do I need to trust this person with a shell account?&quot; moment when suggesting they push to your git, which is nice.

Even better than that is the fact that you replace the admin you&#039;d then have to do on the server (add user, populate authorized_keys, add them to groups, wonder if the unix groups really reflect what you wanted, check it works, perhaps restrict their shell, wonder if you&#039;ve done everything), with:

  1) &quot;Joe, send me a mail with an ssh id.pub&quot;
  2) cd .../gitosis-admin
  3) cut&amp;paste id.pub to keydir/joe_bloggs.pub
  4) edit &quot;joe_bloggs&quot; into the relevant group menbers lists in gitosis.conf
  5) git commit -m &quot;+joe_blogs&quot; keydir/joe_bloggs.pub gitosis.conf
  6) git push

and you&#039;re done (all from your laptop :-)

Cheers, Phil.</description>
		<content:encoded><![CDATA[<p>gitosis liberates you from the &#8220;do I need to trust this person with a shell account?&#8221; moment when suggesting they push to your git, which is nice.</p>
<p>Even better than that is the fact that you replace the admin you&#8217;d then have to do on the server (add user, populate authorized_keys, add them to groups, wonder if the unix groups really reflect what you wanted, check it works, perhaps restrict their shell, wonder if you&#8217;ve done everything), with:</p>
<p>  1) &#8220;Joe, send me a mail with an ssh id.pub&#8221;<br />
  2) cd &#8230;/gitosis-admin<br />
  3) cut&amp;paste id.pub to keydir/joe_bloggs.pub<br />
  4) edit &#8220;joe_bloggs&#8221; into the relevant group menbers lists in gitosis.conf<br />
  5) git commit -m &#8220;+joe_blogs&#8221; keydir/joe_bloggs.pub gitosis.conf<br />
  6) git push</p>
<p>and you&#8217;re done (all from your laptop <img src='http://www.news.software.coop/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Cheers, Phil.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacopo</title>
		<link>http://www.news.software.coop/sharing-git-repositories/791/comment-page-1/#comment-16203</link>
		<dc:creator>Jacopo</dc:creator>
		<pubDate>Tue, 20 Oct 2009 03:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.news.software.coop/sharing-git-repositories/791/#comment-16203</guid>
		<description>A good setting for core.autocrlf is a must for Windows-Linux shared repositories. The auto conversion doesn&#039;t always work and you lose the ability to simply copy stuff around.

If your tools can cope with Unix-style line endings (Visual Studio does), I find it much better to shut autocrlf off.</description>
		<content:encoded><![CDATA[<p>A good setting for core.autocrlf is a must for Windows-Linux shared repositories. The auto conversion doesn&#8217;t always work and you lose the ability to simply copy stuff around.</p>
<p>If your tools can cope with Unix-style line endings (Visual Studio does), I find it much better to shut autocrlf off.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.news.software.coop/sharing-git-repositories/791/comment-page-1/#comment-16192</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 19 Oct 2009 18:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.news.software.coop/sharing-git-repositories/791/#comment-16192</guid>
		<description>You don&#039;t want sharedRepository=true, you want sharedRepository=group.  Equivalent in current git, but some older versions of git misinterpreted &quot;true&quot;, and servers sometimes have older versions of git (because they run stable/&quot;enterprise&quot; distributions, and because for the most part Git can run just fine with an old server version and a new client version).</description>
		<content:encoded><![CDATA[<p>You don&#8217;t want sharedRepository=true, you want sharedRepository=group.  Equivalent in current git, but some older versions of git misinterpreted &#8220;true&#8221;, and servers sometimes have older versions of git (because they run stable/&#8221;enterprise&#8221; distributions, and because for the most part Git can run just fine with an old server version and a new client version).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inigo</title>
		<link>http://www.news.software.coop/sharing-git-repositories/791/comment-page-1/#comment-16182</link>
		<dc:creator>inigo</dc:creator>
		<pubDate>Mon, 19 Oct 2009 13:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.news.software.coop/sharing-git-repositories/791/#comment-16182</guid>
		<description>I don&#039;t use git, but maybe you find usefull to integrate PAM with openldap to manage users/groups. I&#039;ve done that with svn (that also may benefit from ldap using https//).</description>
		<content:encoded><![CDATA[<p>I don&#8217;t use git, but maybe you find usefull to integrate PAM with openldap to manage users/groups. I&#8217;ve done that with svn (that also may benefit from ldap using https//).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MJ Ray</title>
		<link>http://www.news.software.coop/sharing-git-repositories/791/comment-page-1/#comment-16179</link>
		<dc:creator>MJ Ray</dc:creator>
		<pubDate>Mon, 19 Oct 2009 12:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.news.software.coop/sharing-git-repositories/791/#comment-16179</guid>
		<description>gitosis looks fine if we don&#039;t want people to have ssh accounts (which may be the case for some projects), but looks like some duplication and some extra work if all users have ssh accounts.  Have I understood that right?

Thanks for the summaries. I&#039;ll look at disabling non-fast-forward updates.</description>
		<content:encoded><![CDATA[<p>gitosis looks fine if we don&#8217;t want people to have ssh accounts (which may be the case for some projects), but looks like some duplication and some extra work if all users have ssh accounts.  Have I understood that right?</p>
<p>Thanks for the summaries. I&#8217;ll look at disabling non-fast-forward updates.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.news.software.coop/sharing-git-repositories/791/comment-page-1/#comment-16174</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 19 Oct 2009 08:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.news.software.coop/sharing-git-repositories/791/#comment-16174</guid>
		<description>The &quot;reference log&quot; is a history of what branch heads were in a particular time period. This is mostly useful if you have lots of non-fast-forward updates (which should be disabled in a shared repository anyway) as being mentioned in a reflog keeps otherwise unreachable objects from being garbage-collected and addressable through the reflog. It is mostly a tool for undoing destructive changes, like rebasing or deleting branches.

The whitespace setting allows you to refuse commits that add whitespace at the end of a line in some file. That is more useful for the working repos than the shared one, as refusing a commit that late will make it necessary for people to rebase (also, I&#039;m not sure this actually works for push/pull only repos).</description>
		<content:encoded><![CDATA[<p>The &#8220;reference log&#8221; is a history of what branch heads were in a particular time period. This is mostly useful if you have lots of non-fast-forward updates (which should be disabled in a shared repository anyway) as being mentioned in a reflog keeps otherwise unreachable objects from being garbage-collected and addressable through the reflog. It is mostly a tool for undoing destructive changes, like rebasing or deleting branches.</p>
<p>The whitespace setting allows you to refuse commits that add whitespace at the end of a line in some file. That is more useful for the working repos than the shared one, as refusing a commit that late will make it necessary for people to rebase (also, I&#8217;m not sure this actually works for push/pull only repos).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moser</title>
		<link>http://www.news.software.coop/sharing-git-repositories/791/comment-page-1/#comment-16168</link>
		<dc:creator>Moser</dc:creator>
		<pubDate>Mon, 19 Oct 2009 07:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.news.software.coop/sharing-git-repositories/791/#comment-16168</guid>
		<description>Shared git repos over ssh is somehow obsolete. Gitosis works better and easier: http://www.perevillega.com/installation-guides/gitosis-git-repository/</description>
		<content:encoded><![CDATA[<p>Shared git repos over ssh is somehow obsolete. Gitosis works better and easier: <a href="http://www.perevillega.com/installation-guides/gitosis-git-repository/">http://www.perevillega.com/installation-guides/gitosis-git-repository/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MJ Ray (mjray) 's status on Monday, 19-Oct-09 07:14:41 UTC - Identi.ca</title>
		<link>http://www.news.software.coop/sharing-git-repositories/791/comment-page-1/#comment-16167</link>
		<dc:creator>MJ Ray (mjray) 's status on Monday, 19-Oct-09 07:14:41 UTC - Identi.ca</dc:creator>
		<pubDate>Mon, 19 Oct 2009 07:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.news.software.coop/sharing-git-repositories/791/#comment-16167</guid>
		<description>[...] Published Sharing git repositories http://www.news.software.coop/sharing-git-repositories/791/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Published Sharing git repositories <a href="http://www.news.software.coop/sharing-git-repositories/791/">http://www.news.software.coop/sharing-git-repositories/791/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
