blob: 30a2c0d7a15280e1f205a830769946f090dba48d (
plain)
Main use case I am trying to accomplish: Edit wiki pages offline.
- Imagine you're the administrator of the site and you want to checkout the wiki sources to give them some love while on a train journey.
- Or you are writing a complex document and you want to simply use your favourite $EDITOR
- Learn a little more about git
Workflow
on webconverger.org aka si.dabase.com aka hendry machine
Wiki page created with ikiwiki. Example usb.mdwn usb
on monty (my laptop)
git-clone ssh://si.dabase.com/home/hendry/wikiwc/.git/
You might want to set some config variables like your email as this tutorial describes.
echo "blah" >> usb.mdwn
Then to commit:
git-commit -a -m "added test"
Send back:
git push origin
on webconverger.org aka si.dabase.com aka hendry machine
You should setup the "The git post-update wrapper" in the ikiwiki.setup file.
Then the wiki should be up-to-date! :)
Ack
Thanks to gitte on #git on Freenode and of course joeyh. Have a look at [[rcs/details]].
|