]> sipb.mit.edu Git - ikiwiki.git/commitdiff
fix setup for git; git requires the repo not be empty before it's checked
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 11 Jun 2006 22:56:07 +0000 (22:56 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 11 Jun 2006 22:56:07 +0000 (22:56 +0000)
out

doc/setup.mdwn

index cd6bfdc9c6610beeb7dd08562ad4559b4588a685..eef068daea21f0e5e89b880c835a8d61871c67b5 100644 (file)
@@ -14,6 +14,10 @@ and that has optional support for commits from the web.
                mkdir /git/wikirepo
                cd /git/wikirepo
                git init-db
                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.
 
 
 3. Check out the repository to make the working copy that ikiwiki will use.