summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/setup.mdwn3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/setup.mdwn b/doc/setup.mdwn
index 1ed9eca3a..76bb9cc45 100644
--- a/doc/setup.mdwn
+++ b/doc/setup.mdwn
@@ -138,6 +138,9 @@ This tutorial will walk you through setting up a wiki with ikiwiki.
echo .ikiwiki > .gitignore
git add index.mdwn .gitignore
git commit -m'Initial commit'
+ # Stop git performing fast forwards -- this is to avoid
+ # overwriting the remote ref and losing other peoples'
+ # commits from there.
git config receive.denyNonFastForwards true
git config core.bare true
mv .git $REPO