From: František Dvořák Date: Sun, 3 Apr 2011 10:51:05 +0000 (+0200) Subject: How to make repository shared. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=215f6278afd84e1f98376adc7df37a20248745e2;p=convert.git How to make repository shared. --- diff --git a/git.wiki b/git.wiki index d947dd6..cf5dd3c 100644 --- 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