]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/rcs/git/gitmanual.mdwn
web commit from 212.179.254.14: poll vote (It's fast enough)
[git.ikiwiki.info.git] / doc / rcs / git / gitmanual.mdwn
1 Main use case I am trying to accomplish: Edit wiki pages offline.
3 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.
4 2. Or you are writing a complex document and you want to simply use your favourite $EDITOR
5 3. Learn a little more about [git](http://git.or.cz/)
7 # Workflow
9 ## on webconverger.org aka si.dabase.com aka hendry machine
11 Wiki page created with [ikiwiki](http://ikiwiki.info). Example usb.mdwn [usb](http://webconverger.org/usb/)
13 ## on monty (my laptop)
15     git-clone ssh://si.dabase.com/home/hendry/wikiwc/.git/
17 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.
19     echo "blah" >> usb.mdwn
21 Then to commit:
23     git-commit -a -m "added test"
25 Send back:
27     git push origin
29 ## on webconverger.org aka si.dabase.com aka hendry machine
31 You should setup the "The git post-update wrapper" in the **ikiwiki.setup** file.
33 Then the wiki should be up-to-date! :)
35 # Ack
37 Thanks to gitte on #git on Freenode and of course joeyh. Have a look at [[rcs/details]].