Archive for settembre, 2013

change ssh key gitolite-admin

If you have only one pc with gitolite-admin and you format or lost or change ssh-key you can add admin to gitolite with new ssh-key

0) Rename id_rsa.pub into username.pub
1) Move new username.pub into gitolite server e.g. into /tmp
2) su – gitolite
3) gl-setup /tmp/username.pub
4) check /home/gitolite/.gitolite/conf/gitolite.conf permission for admin and set correct user
5) gl-setup

Bye