<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>ikiwiki-makerepo</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="style.css" type="text/css" /> <link rel="stylesheet" href="local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="./index.html">ikiwiki</a>/ </span> <span class="title"> ikiwiki-makerepo </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <h1>NAME</h1> <p>ikiwiki-makerepo - check an ikiwiki srcdir into revision control</p> <h1>SYNOPSIS</h1> <p>ikiwiki-makerepo git|svn|monotone|darcs|cvs srcdir repo</p> <p>ikiwiki-makerepo bzr|mercurial srcdir</p> <h1>DESCRIPTION</h1> <p><code>ikiwiki-makerepo</code> injects an existing <code>srcdir</code> directory, containing sources for an ikiwiki wiki, into revision control. It is rarely run directly; consider using <code>ikiwiki --setup /etc/ikiwiki/wiki.setup</code> instead to set up a wiki.</p> <p>For git, the <code>repo</code> is created as a bare git repository, and the srcdir is made into a clone of it. (monotone and darcs are similar.)</p> <p>For svn and cvs, the <code>repo</code> is the centralized repository, and the <code>srcdir</code> is a checkout of it.</p> <p>For mercurial and bzr, the srcdir is the only repository set up.</p> <p>For darcs, the master repo's apply hook will be preconfigured to call a ikiwiki wrapper.</p> <p>Note that for monotone, you are assumed to already have run "mtn genkey" to generate a key.</p> <h1>EXAMPLE</h1> <p><code>ikiwiki-makerepo git /srv/web/wiki /srv/git/wiki.git/</code></p> <p>This creates a bare repository <code>/srv/git/wiki.git/</code>, and sets up <code>/srv/web/wiki</code> to be a clone of it, committing any files that already exist in that directory.</p> <h1>AUTHOR</h1> <p>Joey Hess <a href="mailto:joey@ikiwiki.info">joey@ikiwiki.info</a></p> <p>Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="./rcs.html">rcs</a> <a href="./rcs/cvs.html">rcs/cvs</a> <a href="./rcs/git.html">rcs/git</a> <a href="./setup/byhand.html">setup/byhand</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>