From b06ae34d0b01adfc5399fbbd32a4ebbf5e190737 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 29 Sep 2007 22:31:37 +0000 Subject: [PATCH] web commit by http://chris-lamb.co.uk/: Add justification for denyNonFastForwards --- doc/setup.mdwn | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2