error: src refspec master does not match any.
error: failed to push some refs to 'm1@host:project-name.git'
Simply updating the configuration in gitosis.conf does not create the repository on the server. To do that, you must create the repo locally and then push it to the server using git push origin master:refs/heads/master
git push
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 416 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To m1@host:gitosis-admin.git
b3e6a47..f8b67fc master -> master