Evgeny
Evgeny

Reputation: 3

trying to clone a branch using git, but it doesn't work

$ git clone gitosis@tony:stylingGit2.git
Cloning into stylingGit2...
ERROR:gitosis.serve.main:Repository read access denied
fatal: The remote end hung up unexpectedly

I'm trying to connect to a server, this happens and I wouldn't know what to do...

...does anybody knows how to solve this issue?

Upvotes: 0

Views: 77

Answers (2)

Tamás Szelei
Tamás Szelei

Reputation: 23921

Either gitosis is misconfigured on the server, or you actually don't have access to it.

You should check the configuration of the host "tony" (and possibly compare it to others).

Upvotes: 1

Adam Bergmark
Adam Bergmark

Reputation: 7536

By the looks of the error message you don't have permission to read that directory. Do you have access to the server? then you can try chmoding och chowning it so that your user can access it.

Upvotes: 0

Related Questions