master TOC | chapter TOC | support
Do NOT add repos or users directly on the server! You MUST manage the
server by cloning the special 'gitolite-admin' repo on your workstation (git
clone git@server:gitolite-admin), making changes, and pushing them. This
section tells you how to add users and repos.
ask each user who will get access to send you a public key. See other sources (for example here) for how to do this
rename each public key according to the user's name, with a .pub
extension, like sitaram.pub or john-smith.pub. You can also use
periods and underscores
copy all these *.pub files to keydir in your gitolite-admin repo
clone. You can also organise them into various subdirectories of keydir
if you wish, since the entire tree is searched.
edit the config file (conf/gitolite.conf in your admin repo clone). See
the gitolite.conf documentation for details on what goes in that
file, syntax, etc. Just add new repos as needed, and add new users and
give them permissions as required. The users names should be exactly the
same as their keyfile names, but without the .pub extension
when done, commit your changes and push. Any new repos you specified will automatically be created (empty, but clonable) and users' access will be updated as needed.