master
joey 2007-10-03 18:40:57 +00:00
parent 529c2da4c3
commit 35ac8e865c
1 changed files with 3 additions and 2 deletions

View 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]]
REPOSITORY=~/wiki.git
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"
git push $REPOSITORY master
git push