]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki-makerepo.mdwn
patch: headless gits: make patch quieter
[ikiwiki.git] / doc / ikiwiki-makerepo.mdwn
1 # NAME
2
3 ikiwiki-makerepo - check an ikiwiki srcdir into revision control
4
5 # SYNOPSIS
6
7 ikiwiki-makerepo git|svn|monotone|darcs|cvs srcdir repository
8
9 ikiwiki-makerepo bzr|mercurial srcdir
10
11 # DESCRIPTION
12
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.
16
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.
20
21 For darcs, the master repo's apply hook will be preconfigured to call a
22 ikiwiki wrapper.
23
24 Note that for monotone, you are assumed to already have run "mtn genkey"
25 to generate a key.
26
27
28 # EXAMPLE 
29
30 `ikiwiki-makerepo git /var/www/wiki /home/user/wiki/`
31
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. 
34
35 # AUTHOR
36
37 Joey Hess <joey@ikiwiki.info>
38
39 Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care