problem pushing repository

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

problem pushing repository

From: Adam Mercer <hidden>
Date: 2016-06-15 22:43:17

Hi

I've just started using git to track a project I'm working on and I'm
having a problem pushing my repository.

[ram@skymoo glue]$ git push
ssh://ram@newberry.ihepa.ufl.edu/~ram/public_html/git/glue.git
bash: line 1: git-receive-pack: command not found
fatal: The remote end hung up unexpectedly
error: failed to push to
'ssh://ram@newberry.ihepa.ufl.edu/~ram/public_html/git/glue.git'
[ram@skymoo glue]$ which git-receive-pack
/Users/ram/opt/git/bin/git-receive-pack
[ram@skymoo glue]$

git-receive-pack is in my $PATH so why can't it be found when trying to push?

Cheers

Adam

Re: problem pushing repository

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:43:17

Adam Mercer wrote:
[ram@skymoo glue]$ git push
ssh://ram@newberry.ihepa.ufl.edu/~ram/public_html/git/glue.git
bash: line 1: git-receive-pack: command not found
fatal: The remote end hung up unexpectedly
error: failed to push to
'ssh://ram@newberry.ihepa.ufl.edu/~ram/public_html/git/glue.git'
[ram@skymoo glue]$ which git-receive-pack
/Users/ram/opt/git/bin/git-receive-pack
[ram@skymoo glue]$

git-receive-pack is in my $PATH so why can't it be found when trying to push?
You must have git installed on the remote end, too.

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help