Gitosis
Nothing special here. The debian package creates a user “gitosis”, just take your ssh public key and do:
1 2 3 4 5 |
su gitosis
cd
gitosis-init
[paste your key]
[push ctrl-d]
|
The comment of your public key (last word) is your userid in the config of gitosis.
Use
1 |
git-clone git+ssh://gitosis@example.com/gitosis-admin.git
|
to checkout the configuration.
See /usr/share/docs/gitosis for more information ;-)
My example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
[gitosis]
gitweb = yes
daemon = yes
[group gitosis-admin]
writable = gitosis-admin
members = stbuehler
[repo gitosis-admin]
gitweb = no
daemon = no
[group execwrap]
writable = execwrap
members = stbuehler
|