I stupidly formatted my laptop hard drive with the ssh keys for gitolite, I have root access to my server and have followed this answer [Gitolite access repair](https://stackoverflow.com/questions/7033991/gitolite-access-repair) and have successfully made a copy of my repo in the tmp folder and fixed the file

My problem is that i get an error when doing "gl-admin-push" here is the error: 

```
Unable to determine correct path for gitolite scripts from the authkeys file.

Perhaps you haven't installed gitolite yet?

Or perhaps this is an HTTP mode install?  If so, please set the GL_BINDIR
environment variable to the full path of the gitolite scripts, then re-try
this command.  For example (if you followed doc/http-backend.mkd precisely):

GL_BINDIR=/var/www/gitolite-home/bin /home/git/bin/gl-admin-push 

```

My gitolite install was working fine before I locked myself out (facepalm)

Anny Ideas of how I can get out of this mess ?