]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
web commit by http://chris-lamb.co.uk/: Add justification for denyNonFastForwards
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 29 Sep 2007 22:31:37 +0000 (22:31 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 29 Sep 2007 22:31:37 +0000 (22:31 +0000)
doc/setup.mdwn

index 1ed9eca3a36577bc99c316ec00d69d8822477b72..76bb9cc45aaeac9b4f73aaa8a0494c0faba06b53 100644 (file)
@@ -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