http://uov5vlsywysdx44mykfwhezqazyubs7zyqdrsl7iaawwrtkkdaig5xqd.onion/articles/SetupGitServer
Once that's done, run the following: git:server$ gitolite setup -pk sshkeys/ < key goes here > Now, we need to configure the right permissions, or else, gitweb won't work. Use your favourite text editor to edit the ~/.gitolite.rc file and change the UMASK to 0027: git:server$ vim .gitolite.rc
[...]
# default umask gives you perms of '0700'; see the rc file docs for
# how/why you might change this
UMASK = > 0027,
[...]