summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-05-23 15:54:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-05-23 15:54:33 +0200
commitc54ee168ea4fc49838e71341446a94442685a3fa (patch)
tree0a330327e1b49d50924a66732103c2bba057df2d /git
parent04f886de692a2f8581d7e73b1d8a511a32e0e4a2 (diff)
Add step to creating git repository (public/private)
Diffstat (limited to 'git')
-rw-r--r--git/git-cheatsheet.txt2
1 files changed, 2 insertions, 0 deletions
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