| GITSRV.CONF(5) | File Formats Manual | GITSRV.CONF(5) |
gitsrv.conf —
gitsrv configuration file
The gitsrv.conf configuration file
contains various options for gitsrv(1).
Options are specified one per line, with values separated by whitespace.
Empty lines or lines beginning with hash ("#") are ignored.
The options are listed below:
stagit
enabledistdir
directorydistfmt
format-f flag.)mandir
directoryghtoken
tokenpubfile
filenameHere is an example /etc/gitsrv.conf:
baseurl https://example.com/git basedir /var/www/htdocs/example.com/git hasfile git-daemon-export-ok
Jacob R. Edwards <jacob@jacobedwards.org>
| October 19, 2025 | jacob |