2007-09-04 02:51:44 +02:00
|
|
|
# this config file tries to show a bit of everything, most real life
|
|
|
|
# configurations really only need a "group" section with "members" and
|
|
|
|
# "writable"
|
|
|
|
|
2007-06-04 13:22:54 +02:00
|
|
|
[gitosis]
|
2007-09-04 02:51:44 +02:00
|
|
|
## To override the default ~/repositories path
|
|
|
|
# repositories = repositories
|
|
|
|
|
|
|
|
## Allow gitweb to show all known repositories. If you want gitweb,
|
|
|
|
## you need either this or a [repo foo] section for each repository
|
|
|
|
## you want visible in gitweb.
|
2007-06-04 21:12:29 +02:00
|
|
|
gitweb = no
|
2007-09-04 02:51:44 +02:00
|
|
|
|
2015-01-22 19:43:39 +01:00
|
|
|
## Allow git daemon to publish all known repositories. As with gitweb,
|
2007-09-04 02:51:44 +02:00
|
|
|
## this can be done globally or per-repository.
|
2007-11-17 15:27:21 +01:00
|
|
|
daemon = no
|
2007-06-04 13:20:03 +02:00
|
|
|
|
2007-09-04 02:51:44 +02:00
|
|
|
## Logging level, one of DEBUG, INFO, WARNING, ERROR, CRITICAL
|
|
|
|
loglevel = DEBUG
|
|
|
|
|
2019-08-02 10:05:24 +02:00
|
|
|
## If you use ssh-certificates with principals, you need this option
|
|
|
|
## If commented, allowedPrincipals defaults to "git". At least, your certificates of the users
|
|
|
|
## which want to use this repos, must have at least "git" as principal in their
|
|
|
|
## certificates
|
|
|
|
allowedPrincipals = git
|
|
|
|
|
2007-06-04 13:20:03 +02:00
|
|
|
[group quux]
|
|
|
|
members = jdoe wsmith @anothergroup
|
|
|
|
writable = foo bar baz/thud
|
|
|
|
readonly = xyzzy
|
2007-09-04 02:51:44 +02:00
|
|
|
|
2008-04-15 14:52:17 +02:00
|
|
|
## You can use groups just to avoid listing users multiple times. Note
|
|
|
|
## no writable= or readonly= lines.
|
|
|
|
[group anothergroup]
|
|
|
|
members = alice bill
|
|
|
|
|
2007-09-04 02:51:44 +02:00
|
|
|
## You can play fancy tricks by making some repositories appear with
|
|
|
|
## different names in different contexts. Not really supported
|
|
|
|
## everywhere (e.g. gitweb) and can be confusing -- experts only.
|
2007-06-04 13:20:03 +02:00
|
|
|
map writable visiblename1 = actualname1
|
|
|
|
map readonly visiblename2 = actualname2
|
|
|
|
|
2007-06-04 21:12:29 +02:00
|
|
|
[repo foo]
|
2007-09-04 02:51:44 +02:00
|
|
|
## Allow gitweb to show this repository.
|
2007-06-04 21:12:29 +02:00
|
|
|
gitweb = yes
|
2007-09-04 02:51:44 +02:00
|
|
|
|
|
|
|
## Oneline description of the project, mostly for gitweb.
|
2007-11-17 16:40:34 +01:00
|
|
|
description = blah blah
|
|
|
|
|
2007-09-04 02:51:44 +02:00
|
|
|
## Owner of this repository. Used in gitweb list of projects.
|
2007-06-04 21:12:29 +02:00
|
|
|
owner = John Doe
|
2007-09-04 02:51:44 +02:00
|
|
|
|
2015-01-22 19:43:39 +01:00
|
|
|
## Allow git daemon to publish this repository.
|
2007-11-17 15:27:21 +01:00
|
|
|
daemon = yes
|
2007-06-04 13:20:03 +02:00
|
|
|
|
2007-09-04 02:51:44 +02:00
|
|
|
[gitweb]
|
|
|
|
## Where to make gitweb link to as it's "home location".
|
|
|
|
## NOT YET IMPLEMENTED.
|
2007-06-04 13:20:03 +02:00
|
|
|
# homelink = http://example.com/
|