Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting up gitosis on a account with a "virtual" Python. I tried to clone the gitosis-admin.git repository. The command below doesn't work.

$ git clone
Initialized empty Git repository in /home/tlevine/bar/a/gitosis-admin/.git/'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
Initialized empty Git repository in /home/tlevine/bar/a/gitosis-admin/.git/'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.

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?

share|improve this question
I actually think now that gitosis wasn't working at all, perhaps because I didn't configure gitosis properly for the bizarre environment. This would explain why I was having the problem I was and why I had to type in my password. – Thomas Levine May 28 '11 at 18:55

Try using an absolute path in the conf file instead of the ~.

You may also want to try gitolite. It's more actively maintained and has a wider feature set.

You can also create your own "programs" in bash called aliases. This article has a how-to towards the bottom. It's a huge time saver.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .