I'm testing my new Git repository. I converted from Subversion to Git, no problem.
Now, on my laptop
git remote add origin git@server:test.git
returns correctly. But when I do
git push
I get
error:gitosis.serve.main:repository read access denied
And when I go to /srv/git/repositories
on the server, the new repository isn't created.
Is there a log file that I can look at somewhere to figure out what's going on?
Carefully follow the "Setting Up" portion of the README. It describes access control. You'd be much better off using gitolite instead. It's easier to use and better-documented. Gitosis is pretty much dead.