Hi,

On Thu, 3 Jul 2008, [EMAIL PROTECTED] wrote:

> I am trying to install GIT on a linux server to use it for SSH access 
> with msysgit.  I am having trouble with the way the permissions are set 
> up in terms of setting the path, so that non-interactive ssh shells can 
> find the process.  The upshot is something like this, which is common on 
> the web for misconfigured .bashrc or .bash_profile or .profile 
> situations:
> 
>     C:\>git clone ssh://[EMAIL PROTECTED]/git/Project
>     Initialized Project/.git
>     Initialized empty Git repository in C:/Project/.git/
>     Password: (I type password here)
>     sh: line 1: git-upload-pack: command not found
>     fatal: The remote end hung up unexpectedly

This means that you installed git in a path outside $PATH.

Your Google search should also have told you that setting the appropriate 
PATH in .bash_profile does not work, as no interactive shell will be set 
up, and you have to use .bashrc instead.

Hth,
Dscho

Reply via email to