From: joey Date: Sat, 29 Sep 2007 22:31:37 +0000 (+0000) Subject: web commit by http://chris-lamb.co.uk/: Add justification for denyNonFastForwards X-Git-Tag: 2.9~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b06ae34d0b01adfc5399fbbd32a4ebbf5e190737;p=ikiwiki.git web commit by chris-lamb.co.uk/: Add justification for denyNonFastForwards --- 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