ikiwiki/doc/ikiwiki-makerepo.mdwn

40 lines
1.1 KiB
Plaintext
Raw Normal View History

# NAME
ikiwiki-makerepo - check an ikiwiki srcdir into revision control
# SYNOPSIS
2009-09-10 22:22:58 +02:00
ikiwiki-makerepo git|svn|monotone|darcs|cvs srcdir repository
2007-11-27 07:51:26 +01:00
ikiwiki-makerepo bzr|mercurial srcdir
# DESCRIPTION
`ikiwiki-makerepo` injects a `srcdir` directory, containing an ikiwiki wiki,
2009-01-02 20:11:41 +01:00
into a `repository` that it creates. The repository can be created using
any of a variety of revision control systems.
2009-01-02 20:11:41 +01:00
Note that for mercurial and bzr, the srcdir is converted into a
repository. There is no need to have a separate repository with mercurial
or bzr.
For darcs, the master repo's apply hook will be preconfigured to call a
ikiwiki wrapper.
2009-01-02 20:11:41 +01:00
Note that for monotone, you are assumed to already have run "mtn genkey"
2009-04-04 23:54:32 +02:00
to generate a key.
2010-05-26 17:24:08 +02:00
# EXAMPLE
2010-05-26 17:24:54 +02:00
`ikiwiki-makerepo git /var/www/wiki /home/user/wiki/`
2010-05-26 17:24:08 +02:00
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.
It then initializes the /home/user/wiki git repo and makes the /var/www/wiki a clone.
# AUTHOR
Joey Hess <joey@ikiwiki.info>
Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care