]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki-makerepo.mdwn
Code formatting.
[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 repository
9 ikiwiki-makerepo bzr|mercurial srcdir
11 # DESCRIPTION
13 `ikiwiki-makerepo` injects a `srcdir` directory, containing an ikiwiki wiki,
14 into a `repository` that it creates. The repository can be created using
15 any of a variety of revision control systems.
17 Note that for mercurial and bzr, the srcdir is converted into a
18 repository. There is no need to have a separate repository with mercurial
19 or bzr.
21 For darcs, the master repo's apply hook will be preconfigured to call a
22 ikiwiki wrapper.
24 Note that for monotone, you are assumed to already have run "mtn genkey"
25 to generate a key.
28 # EXAMPLE 
30 `ikiwiki-makerepo git /var/www/wiki /home/user/wiki/`
32 The above command creates a new git repo in /home/user/wiki as well as a new git repo in the /var/www/wiki directory. 
33 It then initializes the /home/user/wiki git repo and makes the /var/www/wiki a clone. 
35 # AUTHOR
37 Joey Hess <joey@ikiwiki.info>
39 Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care