How to make repository shared.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 3 Apr 2011 10:51:05 +0000 (12:51 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 3 Apr 2011 10:51:05 +0000 (12:51 +0200)
git.wiki

index d947dd6..cf5dd3c 100644 (file)
--- a/git.wiki
+++ b/git.wiki
@@ -121,3 +121,12 @@ git cvsimport -d /home/valtri/jra1mw.cvs -i -m -a -A ../authors.txt jra1mw
         else
                 git commit-tree "$@";
         fi' HEAD
+
+== Make private repository public (shareable) ==
+
+git config --type bool core.share=true
+find .git -type d -exec chmod g+sx {} \;
+find .git -exec chmod g+w {} \;
+mv .git/hooks/post-update.sample .git/hooks/post-update
+chown -R root:users .git
+mv .git /var/www/html/convert.git