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,14 +57,11 @@ simpler? --[[Joey]]
mkdir $REPOSITORY
cd $REPOSITORY
git --bare init --shared
mv $SRCDIR $SRCDIR.old
cd $SRCDIR
git init
echo /.ikiwiki > .gitignore
mv $SRCDIR.old/* $SRCDIR.old/.* .
rmdir $SRCDIR.old
git add .
git commit -m "initial commit"
git remote add origin $REPOSITORY
git config branch.master.merge refs/heads/master
git push --all
git push --all