I’ve got a similar problem to this post here: gitolite push error -> remote: ENV GL_RC not set
I’ve installed gitolite successfully as a non-root method with no warnings or errors. Hoever I can’t push since I get ENV GL_RC not set errors. (If I try to manually assign that in my ENV I get a load of trouble.)
I can clone if I use:
git clone git@server:repositories/gitolite-admin
The solution from the link above is to use the following which I can not do. I can’t clone if I use:
git clone git@server:gitolite-admin
That renders a error of:
Cloning into gitolite-admin...
fatal: 'gitolite-admin' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
I can’t do a package install since I’m on Ubuntu 10.04 LTS which doesn’t have it in its repository list.
I’ve looked through the documentation from http://sitaramc.github.com/ however I can’t seem to get it. Any ideas how I can resolve this?
I confirm that:
a/
git clone git@server:repositories/gitolite-adminwill bypass gitolite, which triggers theENV GL_RC not seterror.b/
git clone git@server:gitolite-adminis the right syntax, and usually fails for ssh reason:So check and make sure all your lines in
~git/.ssh/authorized_keysare correctly prefixed with thecommand=directive.