]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki-makerepo.mdwn
Add ikistrap plugin for ikistrap theme.
[git.ikiwiki.info.git] / doc / ikiwiki-makerepo.mdwn
1 # NAME
3 ikiwiki-makerepo - check an ikiwiki srcdir into revision control
5 # SYNOPSIS
7 ikiwiki-makerepo git|svn|monotone|darcs|cvs srcdir repo
9 ikiwiki-makerepo bzr|mercurial srcdir
11 # DESCRIPTION
13 `ikiwiki-makerepo` injects an existing `srcdir` directory, containing
14 sources for an ikiwiki wiki, into revision control. It is rarely
15 run directly; consider using `ikiwiki --setup /etc/ikiwiki/wiki.setup` instead
16 to set up a wiki.
18 For git, the `repo` is created as a bare git repository, and the srcdir is
19 made into a clone of it. (monotone and darcs are similar.)
21 For svn and cvs, the `repo` is the centralized repository, and the `srcdir`
22 is a checkout of it.
24 For mercurial and bzr, the srcdir is the only repository set up.
26 For darcs, the master repo's apply hook will be preconfigured to call a
27 ikiwiki wrapper.
29 Note that for monotone, you are assumed to already have run "mtn genkey"
30 to generate a key.
32 # EXAMPLE 
34 `ikiwiki-makerepo git /srv/web/wiki /srv/git/wiki.git/`
36 This creates a bare repository `/srv/git/wiki.git/`,
37 and sets up `/srv/web/wiki` to be a clone of it, committing
38 any files that already exist in that directory.
40 # AUTHOR
42 Joey Hess <joey@ikiwiki.info>
44 Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care