Gitolite: Difference between revisions
imported>Vater mNo edit summary |
m Category:Applications removed |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
'''Gitolite''' allows you to host | [https://gitolite.com/ '''Gitolite'''] allows you to host [[Git]] repositories with fine-grained access control. | ||
== Installation == | == Installation == | ||
Line 6: | Line 6: | ||
<syntaxhighlight lang=nix> | <syntaxhighlight lang=nix> | ||
services.gitolite = { | |||
enable = true; | |||
adminPubkey = "<ssh public key>"; | |||
}; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 17: | Line 17: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
You can now check out the <code>gitolite-admin</code> repo. Gitolite's configuration is located in <code>conf/gitolite.conf</code> and you can give users access by adding their public keys to <code>keydir</code>. | You can now check out the <code>gitolite-admin</code> repo using the <code>gitolite</code> user. Gitolite's configuration is located in <code>conf/gitolite.conf</code> and you can give users access by adding their public keys to <code>keydir</code>. | ||
[[Category:Server]] | |||
[[Category:Version control]] |