aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-29 22:31:37 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-29 22:31:37 +0000
commitb06ae34d0b01adfc5399fbbd32a4ebbf5e190737 (patch)
tree90d25c1d8d050298d5381ace57780e94f5848edf /doc
parentf37b97a8afc850cb337964f990b1c39b722dc1a1 (diff)
downloadikiwiki-b06ae34d0b01adfc5399fbbd32a4ebbf5e190737.tar
ikiwiki-b06ae34d0b01adfc5399fbbd32a4ebbf5e190737.tar.gz
web commit by http://chris-lamb.co.uk/: Add justification for denyNonFastForwards
Diffstat (limited to 'doc')
-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