- git commit -m'Initial commit'
- # stop git performing fast forwards -- this is to avoid
- # overwriting the remote ref and losing other peoples'
- # commits from there.
- git config receive.denyNonFastForwards true
- git config core.bare true
- mv .git $REPO
- cd ..
- rm -r $SRCDIR
- git clone -l -s $REPO $SRCDIR
- mv .ikiwiki $SRCDIR
+ git commit -m "initial commit"
+ git remote add origin $REPOSITORY
+ git config branch.master.merge refs/heads/master
+ git push --all