From: joey Date: Sun, 11 Jun 2006 22:56:07 +0000 (+0000) Subject: fix setup for git; git requires the repo not be empty before it's checked X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/402ecbe7ac1f662351062c3c54a2d49f3d0b35c6 fix setup for git; git requires the repo not be empty before it's checked out --- 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.