web commit by http://madduck.myopenid.com/: no need to save SRCDIR.

master
joey 2007-10-03 18:48:19 +00:00
parent 6a226b26c1
commit 55bf5afa0b
1 changed files with 1 additions and 4 deletions

View File

@ -57,12 +57,9 @@ simpler? --[[Joey]]
mkdir $REPOSITORY mkdir $REPOSITORY
cd $REPOSITORY cd $REPOSITORY
git --bare init --shared git --bare init --shared
mv $SRCDIR $SRCDIR.old
cd $SRCDIR cd $SRCDIR
git init git init
echo /.ikiwiki > .gitignore echo /.ikiwiki > .gitignore
mv $SRCDIR.old/* $SRCDIR.old/.* .
rmdir $SRCDIR.old
git add . git add .
git commit -m "initial commit" git commit -m "initial commit"
git remote add origin $REPOSITORY git remote add origin $REPOSITORY