I followed these instructions to the point where I push my new repo to origin. The instructions were fine except that gitosis-admin.git was available under the git directory, like this:
Code:
gitosis@domain.com:git/gitosis-admin.git
The instructions had said that the URL should be:
Code:
gitosis@domain.com:gitosis-admin.git
I was able to edit gitosis.conf and push to origin.
Code:
$ cat gitosis.conf
[gitosis]
[group gitosis-admin]
members = gitosis,mslinn@asylum,mslinn@lhotse
writable = gitosis-admin
writeable = empathyworks
[repo empathyworks]
gitweb = no
description = blah
owner = Mike Slinn
daemon = no
When I push the new project, however, I get this:
Code:
$ git push origin master
fatal: 'git/empathyworks.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
I tried editing the new git repo's .git/conf file and removed the git directory, like this:
Code:
url = gitosis@domain.com:empathyworks.git
... but I still get the same type of message:
Code:
$ git push origin master
fatal: 'empathyworks.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
I even tried creating the directory of the new repo in /srv/gitosis/repositories/empathyworks.git and copying in the contents of the .git directory from my local machine but no joy.
Bookmarks