From 491847ed5311123b3ce58c636451c56a2a0f191b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 27 Nov 2007 00:34:17 -0500 Subject: * Add a new ikiwiki-makerepo program, that automates setting up a repo and importing existing content for svn, git, and mercurial. This makes the setup process much simpler. * Reorganised git documentation. * Actually install the ikiwiki-update-wikilist program. --- doc/setup/git_pitfalls.mdwn | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 doc/setup/git_pitfalls.mdwn (limited to 'doc/setup') diff --git a/doc/setup/git_pitfalls.mdwn b/doc/setup/git_pitfalls.mdwn deleted file mode 100644 index c3584775b..000000000 --- a/doc/setup/git_pitfalls.mdwn +++ /dev/null @@ -1,22 +0,0 @@ -I want to collect common problems and their solutions when using Ikiwiki with Git here. Nothing here yet though, so feel free to add... - -> Well, I have a question. :-) -> -> If I follow the instructions, I get a bare $REPOSITORY and a $SRCDIR that -> is cloned off of it. Web edits change the SRCDIR and ikiwiki automatically -> pushes to origin, which updates REPOSITORY. But the instructions say not -> to clone from SRCDIR; so I clone from REPOSITORY. Now if I manually edit -> a file and push the commit, it goes to REPOSITORY. The wiki isn't -> updated. -> -> Seems like REPOSITORY needs a post-receive hook that cd's to SRCDIR and -> does a git pull, and manually triggers ikiwiki. Which seems very messy. -> -> Am I doing something wrong? --[[Joey]] -> -> Hmm, perhaps I installed the wrapper to the wrong place? I had thought -> it would go in $SRCDIR/.git/hooks/post-commit, but on second read, I see -> that [[setup]] says it should be $REPOSITORY/hooks/post-update -> -> That seems to have sorted it. Based on [[this|rcs/git/discussion]], I'm -> not the only one to trip over how to do this. --[[Joey]] -- cgit v1.2.3