Gitolite

Introduction
Gitolite is a highly flexible server for git. It is recommended by many as the successor of Gitosis, which had its last update in 2009 and is considered 'dead'. The Gentoo overlays moved from Gitosis to Gitolite in 2010. Despite this fact, there doesn't seem to be an 'official' Gentoo Gitosis guideline yet.

Installation
Despite the existence of the package dev-vcs/gitolite-gentoo, it is recommended to emerge dev-vcs/gitolite instead. The gitolite configuration uses nano by default, so you may want to emerge app-editors/nano as well.

Initial configuration

 * If you have used gitosis in the past, it will have created the user (and group?) git already. However, you need to change this user's home directory in /etc/passwd from '/var/spool/gitosis' to '/var/lib/gitolite'.  This can be done by running the command


 * You will need to make sure that the user git has ssh access, so add it to AllowUsers in /etc/ssh/sshd_config if necessary and issue


 * Then set up the SSH key for the gitolite administrator:

Adding and configuring repositories
To be added...