2007-08-30 18:10:24 +02:00
Main use case I am trying to accomplish: Edit wiki pages offline.
2007-08-30 18:03:50 +02:00
2007-08-30 18:10:24 +02:00
1. 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.
2. Or you are writing a complex document and you want to simply use your favourite $EDITOR
3. Learn a little more about [git](http://git.or.cz/)
2007-08-30 18:03:50 +02:00
2007-08-30 18:10:24 +02:00
# Workflow
2007-08-30 18:03:50 +02:00
2007-09-05 20:39:19 +02:00
## on webconverger.org aka si.dabase.com aka hendry machine
2007-08-30 18:10:24 +02:00
Wiki page created with [ikiwiki](http://ikiwiki.info). Example usb.mdwn [usb](http://webconverger.org/usb/)
## on monty (my laptop)
2007-08-30 18:03:50 +02:00
2007-09-05 20:39:19 +02:00
git-clone ssh://si.dabase.com/home/hendry/wikiwc/.git/
2007-08-30 18:03:50 +02:00
2007-08-30 18:40:25 +02:00
You might want to set some config variables like your email as this [tutorial](http://www.kernel.org/pub/software/scm/git/docs/tutorial.html) describes.
2007-08-30 18:03:50 +02:00
echo "blah" >> usb.mdwn
2007-09-05 20:39:19 +02:00
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! :)
2007-08-30 18:28:23 +02:00
# Ack
2007-09-05 20:39:19 +02:00
Thanks to gitte on #git on Freenode and of course joeyh. Have a look at [[rcs/details]].