This material is work-in-progress ...
Do not follow instructions here until this notice is removed.
cgit is a CGI-application that was written in C and a web interface for git repositories provides.
Running instance: git.alpinelinux.org
Initialize a sample git repository
Edit the /etc/cgitrc file:
And make sure you have at least the following lines:
Uncomment this line, if you want to store the repository in its own file
Create the file
Now add every repository
repo.url=sample repo.path=/var/git/sample.git repo.desc=Sample master foo repository firstname.lastname@example.org repo.readme=info/web/about.html
If you want to group your repositories, add the every repository to a group.