master TOC | chapter TOC | support
(Unlike in the rest of this document, we use "gitolite" as the "hosting user" instead of "git" here, because that is the user that both the Fedora and Debian packages create. Your distro/OS may vary.)
On your workstation:
~/.ssh/id_rsa.pub file to /tmp/YourName.pub on the server.
(The name of this file determines your gitolite username, so if you leave
it as id_rsa.pub, your gitolite username will be id_rsa, which may not
be what you want).On your server, as root:
yum install gitolite # or 'apt-get install gitolite', or whatever
# this is the only step you need to repeat when upgrading gitolite
# current RPM/DEB create a hosting user called "gitolite"
su - gitolite
# (now as gitolite)
gl-setup /tmp/YourName.pub
Note: if you're running non-interactively (i.e., cannot tolerate an editor popping up), insert a "-q" before the argument to gl-setup.
On your workstation:
git clone gitolite@server:gitolite-admin