From 402ecbe7ac1f662351062c3c54a2d49f3d0b35c6 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 11 Jun 2006 22:56:07 +0000 Subject: [PATCH] fix setup for git; git requires the repo not be empty before it's checked out --- doc/setup.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/setup.mdwn b/doc/setup.mdwn index cd6bfdc9c..eef068dae 100644 --- a/doc/setup.mdwn +++ b/doc/setup.mdwn @@ -14,6 +14,10 @@ and that has optional support for commits from the web. mkdir /git/wikirepo cd /git/wikirepo git init-db + # Git requires something be in the repo to start with. + cp /usr/share/ikiwiki/basewiki/index.mdwn . + git add . + git commit -m create -a 3. Check out the repository to make the working copy that ikiwiki will use. -- 2.45.0