Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I set up a git user on my Mac OS 10.7 system. In the root, there's a /repositories/test.git repo. When trying to clone it with git clone git@server:repositories/test.git it fails me with:

bash: git-upload-pack: command not found
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What am I doing wrong?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

See http://stackoverflow.com/questions/225291/git-upload-pack-command-not-found-how-to-fix-this-correctly for details, but essentially the server doesn't have git-upload-pack in the right directory for a non-login shell to execute.

share|improve this answer
    
The thing is that if I place the repo in my own users root, the clone succeeds. So, I'm thinking it might be a rights issue. –  Kriem Mar 20 '13 at 21:30
    
Although that actually solved my command line issues, Atlassian SourceTree still won't push. I think it's a different issue though. –  Kriem Mar 21 '13 at 11:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.