diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-06-11 22:56:07 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-06-11 22:56:07 +0000 |
commit | 402ecbe7ac1f662351062c3c54a2d49f3d0b35c6 (patch) | |
tree | 77a2377327ad057fc9682b7cda7e58e5b93d882d | |
parent | 9082bd4c2b0f5b78a7c90aea3af57f736c33a674 (diff) |
fix setup for git; git requires the repo not be empty before it's checked
out
-rw-r--r-- | doc/setup.mdwn | 4 |
1 files changed, 4 insertions, 0 deletions
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. |