Git – admin

(Admin:)
a. Put the public key for the user in a tmp directory and name it
the user name of the new user /tmp/firstname.lastname.pub
b. If not already done, check out the gitolite-admin repository:
git clone <server-url>:gitolite-admin
c. Go inside gitolite admin directory: cd gitolite-admin
d. cp /tmp/firstname.lastname keydir
e. nano conf/gitolite.conf
f. add username to and permissions to repository: