gitosis and git clone problem

Posted by Alexey Poimtsev on Stack Overflow See other posts from Stack Overflow or by Alexey Poimtsev
Published on 2009-08-19T06:54:24Z Indexed on 2010/05/29 9:32 UTC
Read the original article Hit count: 534

Filed under:
|
|

Hi, I have installed gitosis, but i have strange thing when i'm working with repos. In config i have

[gitosis]

[group gitosis-admin]
writable = gitosis-admin
members = me@server me@laptop

[group prj1]
writable = prj1
members = me@laptop

and in /home/git/repositories i have created directory prj1.git with empty git repo.

i can work with gitosis-admin from server and laptop without problems, but when i'm trying to git clone prj1 on my laptop i see

$ git clone git@server:prj1.git
Initialized empty Git repository in /Users/alec/temp/prj1/.git/
fatal: no matching remote head

ok, lets push prj1 from laptop to server:

$ git push origin master:refs/heads/master
ERROR:gitosis.serve.main:Repository read access denied
fatal: The remote end hung up unexpectedly

Whats wrong?

© Stack Overflow or respective owner

Related posts about git

Related posts about version-control