On 21/06/07, Andrew Ruder [off-list ref] wrote:
On Thu, Jun 21, 2007 at 07:00:18PM -0700, Junio C Hamano wrote:
quoted
$ ssh newberry.ihepa.ufl.edu sh -c 'echo $PATH'
may be a good starting point to test this, and the first step
to fix it would be
$ man ssh
$ man sshd
While I wholeheartedly agree with Junio here, you may also find
remote.<name>.receivepack
useful, see git-push(1) and git-config(1) for more information.
This seems like the best way to fix this issue, however it isn't clear
from the man page what I need to put in my ~/.gitconfig. With the
following in .gitconfig
[remote]
glue.receivepack = /home/ram/opt/git/bin/git-receive-pack
I get the following error when trying to push
[ram@skymoo glue]$ git push
ssh://newberry.ihepa.ufl.edu/~/public_html/git/glue.git
fatal: bad config file line 6 in /Users/ram/.gitconfig
so this is clearly not the right entry. Can someone please give me a
push in the right direction?
Cheers
Adam