Hi,
Sounds like you need to setup the path for the secondary user. Try this:

As primary user: which git
As secondary user: echo $PATH

On my machine I get:

which git
/usr/local/git/bin/git

echo $PATH
/opt/local/bin:/opt/local/lib/postgresql82/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/Users/jacob/bin:/Users/jacob/programs/bin:/usr/local/git/bin

As can be seen the last part of my path is the directory containing the git
binary. The resolution is to make sure that the git directory is in the
secondary users path. Edit .bashrc (if your shell is bash) and add: export
PATH=$PATH:/path/to/git/bin

On Sat, Oct 25, 2008 at 8:19 PM, mpitman <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I've got a small issue that I just cant seem to resolve. I'm running a
> Mac OSX with MAMP and git for my local development server. I have git
> working on a primary account and am having no issues with it. However,
> when I login via ssh as a different user on the server, the git
> command isn't available. How can I get git to work on multiple
> accounts on the server?
>
> Thanks!
>
> ~MP
> >
>


-- 
Med venlig hilsen
- Jacob Atzen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to