1 I want to collect common problems and their solutions when using Ikiwiki with Git here. Nothing here yet though, so feel free to add...
3 > Well, I have a question. :-)
5 > If I follow the instructions, I get a bare $REPOSITORY and a $SRCDIR that
6 > is cloned off of it. Web edits change the SRCDIR and ikiwiki automatically
7 > pushes to origin, which updates REPOSITORY. But the instructions say not
8 > to clone from SRCDIR; so I clone from REPOSITORY. Now if I manually edit
9 > a file and push the commit, it goes to REPOSITORY. The wiki isn't
12 > Seems like REPOSITORY needs a post-receive hook that cd's to SRCDIR and
13 > does a git pull, and manually triggers ikiwiki. Which seems very messy.
15 > Am I doing something wrong? --[[Joey]]
17 > Hmm, perhaps I installed the wrapper to the wrong place? I had thought
18 > it would go in $SRCDIR/.git/hooks/post-commit, but on second read, I see
19 > that [[setup]] says it should be $REPOSITORY/hooks/post-update
21 > That seems to have sorted it. Based on [[this|rcs/git/discussion]] and
22 > [[this|rcs/git/gitmanual]], I'm not the only one to trip over how to do