fix setup for git; git requires the repo not be empty before it's checked

out
master
joey 2006-06-11 22:56:07 +00:00
parent 9082bd4c2b
commit 402ecbe7ac
1 changed files with 4 additions and 0 deletions

View File

@ -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.