diff options
author | Joey Hess <joey@kitenet.net> | 2008-03-05 18:01:35 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2008-03-05 18:01:35 -0500 |
commit | 0702e3aabe37736c6c53f15bad7ff7d144bd867e (patch) | |
tree | fea53449ecdfb9aa2bcf56fa5c684f3f74cc7fce /doc | |
parent | bff92e38909363ee11f3c24ee230f8ee373cfd67 (diff) |
web commit by ManojSrivastava
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rcs/git.mdwn | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/doc/rcs/git.mdwn b/doc/rcs/git.mdwn index cefa649ff..539c1e8b1 100644 --- a/doc/rcs/git.mdwn +++ b/doc/rcs/git.mdwn @@ -107,27 +107,13 @@ repository, should only be writable by the wiki's admin, and *not* by the group. Take care that ikiwiki uses a umask that does not cause files in the srcdir to become group writable. (umask 022 will work.) -## Configuration +## Configuration of working clone repositories -### Ikiwiki working directory - -* Configure a cgi wrapper as usual, but configure the git wrapper to - be written to the post-commit hook of the bare root repository. Set - in the configuration: - - gitorigin_branch=> "origin", - ## git post-commit wrapper - wrapper => "/path/to/bare/repo/.git/hooks/post-commit", - - - -### Working clones (Clone 1 .. N in the image) - -These are repositories usually setup to avoid permission problems with -the working directory used by ikiwiki itself. They also represent the -most convenient way to add content to the wiki on a different machine -(that is, not the machine the wiki is published on) which is more -convenient. +These are repositories (Clone 1 .. N in the image) usually setup to +avoid permission problems with the working directory used by ikiwiki +itself. They also represent the most convenient way to add content to +the wiki on a different machine (that is, not the machine the wiki is +published on) which is more convenient. The use case for these clones is this: If you want to edit your wiki on your development box, or on your laptop, you usually set up a clone |