]> sipb.mit.edu Git - ikiwiki.git/commitdiff
updates
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 3 Oct 2007 18:40:57 +0000 (18:40 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 3 Oct 2007 18:40:57 +0000 (18:40 +0000)
doc/setup/discussion.mdwn

index e1617aac6b2d9df678e7caa84caa9e0b95982efc..16e88601e02fcfc09d0287c583c65c9dd8fec8b5 100644 (file)
@@ -38,15 +38,16 @@ Curious as to why support for CVS is not built in. --[[Luther]]
 On the git setup instuctions, I wonder if this wouldn't work as well and be
 simpler? --[[Joey]]
 
 On the git setup instuctions, I wonder if this wouldn't work as well and be
 simpler? --[[Joey]]
 
+       REPOSITORY=~/wiki.git
        mkdir $REPOSITORY
        cd $REPOSITORY
        git --bare init --shared
        mv $SRCDIR $SRCDIR.old
        mkdir $REPOSITORY
        cd $REPOSITORY
        git --bare init --shared
        mv $SRCDIR $SRCDIR.old
-       git clone -l -s $REPOSITORY $SRCDIR
+       git clone $REPOSITORY $SRCDIR
        cd $SRCDIR
        echo /.ikiwiki > .gitignore
        mv $SRCDIR.old/* $SRCDIR.old/.* .
        rmdir $SRDDIR.old
        git add .
        git commit -m "initial commit"
        cd $SRCDIR
        echo /.ikiwiki > .gitignore
        mv $SRCDIR.old/* $SRCDIR.old/.* .
        rmdir $SRDDIR.old
        git add .
        git commit -m "initial commit"
-       git push $REPOSITORY master
+       git push