I set up gitosis but even when i can clone, pull and push to the gitosis-admin repo, i can't create new ones.
According to every doc i read, to create a new repo one has to:
- Give user write access to the repo (inside a group put: writable = repo-name)
- The user create a repo locally add a remote then does a push
- The repo is created in the server
But i always get the error fatal: 'repo-name.git' does not appear to be a git repository
But if a login on the server (as user git) and create the repo manually using mkdir repo-name.git && cd repo-name.git && git --bare init
, then i can push from my local repo to the remote one.
What I'm missing?