Cgit

cgit is a fast web-interface (CGI) for git 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. cgit is licensed under the GPLv2.

USE flags
cgit can be managed though webapp-config 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 cgit.

Web server
cgit 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 cgit configuration process.

Configuration
Relative configuration files include:


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

Usage
Coming soon...

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