]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki-makerepo.mdwn
Code formatting.
[ikiwiki.git] / doc / ikiwiki-makerepo.mdwn
index 4bb2afa1697213012833e5ff28b8b307b96bf17c..acb1211de76f787e800f58b43b47bdc9a0d56c83 100644 (file)
@@ -4,7 +4,7 @@ ikiwiki-makerepo - check an ikiwiki srcdir into revision control
 
 # SYNOPSIS
 
-ikiwiki-makerepo svn|git|monotone|darcs srcdir repository
+ikiwiki-makerepo git|svn|monotone|darcs|cvs srcdir repository
 
 ikiwiki-makerepo bzr|mercurial srcdir
 
@@ -22,7 +22,15 @@ For darcs, the master repo's apply hook will be preconfigured to call a
 ikiwiki wrapper.
 
 Note that for monotone, you are assumed to already have run "mtn genkey"
-to generate key.
+to generate a key.
+
+
+# EXAMPLE 
+
+`ikiwiki-makerepo git /var/www/wiki /home/user/wiki/`
+
+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