git-receive-pack : command not found.

Posted by Philippe Mongeau on Super User See other posts from Super User or by Philippe Mongeau
Published on 2009-09-10T03:32:57Z Indexed on 2011/01/04 11:55 UTC
Read the original article Hit count: 211

Filed under:
|
|
|
|

I made a git repo on a local machine with "git init --bare" and added it as the remote origin on the project on my main computer with ssh:

git add remote origin [email protected]:repoName.git

I was able to make a commit and push from my main computer to the other computer the day I created the repo, but today i tried and it didn't work.

When I did "git push origin" it returned this error:

bash: line 1: git-receive-pack: command not found
fatal: The remote end hung up unexpectedly

The two machines are mac the main one running Leopard and the server one running Tiger. I think it may be realted to the $PATH of git on the server but I'm not sure.

i used theses instrution to create my git server: http://blog.commonthread.com/2008/4/14/setting-up-a-git-server

© Super User or respective owner

Related posts about osx

Related posts about ssh