X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/98c3ca89bd6d2a6abc67d9dc1589a7046bd56d4b..49f2356dda291fa2566136ad247cbceab30a3ba0:/doc/rcs/git.mdwn diff --git a/doc/rcs/git.mdwn b/doc/rcs/git.mdwn index 6d6d622c7..55e2f1d55 100644 --- a/doc/rcs/git.mdwn +++ b/doc/rcs/git.mdwn @@ -1,10 +1,17 @@ [[meta title="Git"]] -[Git](http://git.or.cz) is a distributed revison control system originally developed for the Linux kernel. Ikiwiki supports storing a wiki in git. +[Git][git] is a distributed revison control system originally developed for +the Linux kernel. Ikiwiki supports storing a wiki in git. + +[git]: http://git.or.cz/ Ikiwiki can run as a post-update hook to update a wiki whenever commits come in. When running as a [[cgi]] with Git, ikiwiki automatically -commits edited pages, and uses the Git history to generate the [[RecentChanges]] page. +commits edited pages, and uses the Git history to generate the +[[RecentChanges]] page. +[[Setup]] documents current best practice for using git with ikiwiki. This +involves setting up a pair of git repositories. This method isn't the most +obvious, but it works the best. -[[Editing_wiki_pages_manually|GitManual]] \ No newline at end of file +See also: [[common_git_pitfalls|/setup/git_pitfalls]]