I'm setting up gitosis on a NearlyFreeSpeech.net account with a "virtual" Python. I tried to clone the gitosis-admin.git repository. The command below doesn't work.
$ git clone tlevine_thomaslevinecom@ssh.phx.nearlyfreespeech.net:gitosis-admin.git
Initialized empty Git repository in /home/tlevine/bar/a/gitosis-admin/.git/
tlevine_thomaslevinecom@ssh.phx.nearlyfreespeech.net's password:
fatal: 'gitosis-admin.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
The command below does.
$ git clone tlevine_thomaslevinecom@ssh.phx.nearlyfreespeech.net:~/repositories/gitosis-admin.git
Initialized empty Git repository in /home/tlevine/bar/a/gitosis-admin/.git/
tlevine_thomaslevinecom@ssh.phx.nearlyfreespeech.net's password:
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (8/8), done.
Receiving objects: 100% (8/8), 1.06 KiB, done.
remote: Total 8 (delta 0), reused 5 (delta 0)
It would be convenient if I didn't have to type "~/repositories/". I tried editing gitosis.conf.
[gitosis]
repositories = ~/repositories/
[group gitosis-admin]
writable = gitosis-admin
members = tlevine@tlevine-laptop
I added the "repositories" line above. It didn't change the results of either of the git-clone commands. Is there a way I can make first command work?