The accepted answer is good if you just configure gitolite, but if you are a new user for an existing installation, you will get the same error as in the question if you have not been added as an administrator.
If you have access to the shell on the server, gitolite lives on, log in and switch to the user who uses gitolite - usually called git .
After logging into the gitolite user, go to the conf file and give yourself RW + rights in the gitolite-admin repository. Gitolite conf is usually located in /home/git/.gitolite/conf/gitolite.conf (if the username is git ). Grant permissions for a guitar user named Peaches :
repo gitolite-admin RW+ = OriginalAdmin Peaches
Save the file and run the setup from the command line, still as a gitolite user:
gitolite setup
If you configured the user correctly, you can clone now.
For more information on adding users, see the documentation .
MrOodles
source share