git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: problem pushing repository

From
RBRaimund Bauer <ray007@gmx.net>
Date
Jun 22, 2007, 07:21 UTC
Message-ID
<1182496916.6207.11.camel@localhost>
In-Reply-To
<20070622022426.GA2961@bowser.ruder>
On Thu, 2007-06-21 at 21:24 -0500, Andrew Ruder wrote:
Show 12 quoted lines
> On Thu, Jun 21, 2007 at 07:00:18PM -0700, Junio C Hamano wrote:
> > 	$ 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

Yes, but it doesn't always work. I have a server with several repositories, and git is installed in /usr/local/bin. All my local repostories know this server as a remote named 'slcom' and I have a 2 global options remote.slcom.uploadpack=/usr/local/bin/git-upload-pack remote.slcom.receivepack=/usr/local/bin/git-receive-pack

Fetching, pulling and normal pushing works. Pushing a new branch to the remote doesn't work: $ git branch test $ git push slcom test:test error: dst refspec test does not match any existing ref on the remote and does not start with refs/. fatal: The remote end hung up unexpectedly error: failed to push to 'ray@softwarelandschaft.com:/home/ray/repos/drupal/multirate'

git-remote also has a problem: $ git remote show slcom bash: git-upload-pack: command not found fatal: The remote end hung up unexpectedly ls-remote --heads ray@softwarelandschaft.com:/home/ray/repos/drupal/multirate: command returned error: 1

All this with git from yesterday (next).
> - Andy
-- 
best regards

  Ray
Previous: Andrew RuderNext: Johannes Schindelin
Message 4 of 15 in “problem pushing repository”
  1. Adam MercerJun 22, 2007
  2. Junio C HamanoJun 22, 2007
  3. Andrew RuderJun 22, 2007
  4. Raimund BauerJun 22, 2007
  5. Johannes SchindelinJun 22, 2007
  6. Raimund BauerJun 22, 2007
  7. Shawn O. PearceJun 22, 2007
  8. Raimund BauerJun 23, 2007
  9. Shawn O. PearceJun 24, 2007
  10. Jakub NarebskiJun 25, 2007
  11. Adam MercerJun 22, 2007
  12. Raimund BauerJun 22, 2007
  13. Adam MercerJun 22, 2007
  14. Adam MercerJun 22, 2007
  15. Johannes SixtJun 22, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.