Cgit: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
Initialize a sample git repository | Initialize a sample git repository | ||
{{cmd|git init -- | {{cmd|git init --bare /var/git/sample.git}} | ||
Uncomment this line | Uncomment this line | ||
Line 31: | Line 31: | ||
</pre> | </pre> | ||
If you want to group your repositories, add the every repository to a group. | |||
repo.group=Sample group | repo.group=Sample group |
Revision as of 15:02, 16 June 2011
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
Lighttpd
cgit
Install cgit
apk add cgit git
Initialize a sample git repository
git init --bare /var/git/sample.git
Uncomment this line
include=/etc/cgitrepos
touch /etc/cgitrepos
repo.url=sample repo.path=/var/git/sample.git repo.desc=Sample master foo repository repo.owner=sample@example.com repo.readme=info/web/about.html
If you want to group your repositories, add the every repository to a group.
repo.group=Sample group