summaryrefslogtreecommitdiff
path: root/doc/setup
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-10-21 00:38:31 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-10-21 00:38:31 +0000
commitd033b2b9860de176e01c77a20b599b9b0e4b59f5 (patch)
treef5310af44f22cb041baa7588d4ea3bc0770dbfd6 /doc/setup
parenta22d9f9721f89111cba2efbd2b795e3edfcb08b8 (diff)
question about setting up git
Diffstat (limited to 'doc/setup')
-rw-r--r--doc/setup/git_pitfalls.mdwn16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/setup/git_pitfalls.mdwn b/doc/setup/git_pitfalls.mdwn
index a19666dea..4af7c8006 100644
--- a/doc/setup/git_pitfalls.mdwn
+++ b/doc/setup/git_pitfalls.mdwn
@@ -1 +1,15 @@
-I want to collect common problems and their solutions when using Ikiwiki with Git here. Nothing here yet though, so feel free to add... \ No newline at end of file
+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]]