Cgit

is [[Article description::a fast web-interface (CGI) for written in the C programming language.]] It makes it possible for potential contributors to track and view project source code from the web instead of through a git client. is licensed under the GPLv2.

is written and maintained by Gentoo developer.

USE flags
can be managed though if the   USE flag is enabled. Without  it will install into normal directories.

Emerge
After installation some post-install instructions should be viable in the output from the install command. Please read these instructions carefully before proceeding to use.

Web server
depends upon a web server in order to operate as intended. Fortunately several web servers are available through Portage:


 * Apache
 * Nginx
 * Lighttpd

After installing and configuring a web server of choice return here to continue the configuration process.

Configuration
Relative configuration files include:


 * - The global configuration file. This is used to modifying settings for all users.

Update repository list automatically
If you would like to update the list of git repositories in cgit automatically consider adding something similar to the following as a cron job:

Then add  into the  global configuration file. This way it is simpler and more convenient. You won't need to update your cgitrc every time you add a new repository.

External resources

 * The official cgit FAQ