From c54ee168ea4fc49838e71341446a94442685a3fa Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 23 May 2015 15:54:33 +0200 Subject: Add step to creating git repository (public/private) --- git/git-cheatsheet.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git/git-cheatsheet.txt b/git/git-cheatsheet.txt index 47372c5..211e808 100644 --- a/git/git-cheatsheet.txt +++ b/git/git-cheatsheet.txt @@ -33,6 +33,8 @@ Setup remote repository 3. git --bare init --shared=all 4. chgrp -R scm ../proj.git 5. edit description + 5a touch git-daemon-export-ok && chgrp scm git-daemon-export-ok && \ + chmod g+w git-daemon-export-ok # if public 6. cd hooks 7. mv post-update.sample post-update -- cgit v1.1