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

Re: Git fetch/pull stopped working

From
Junio C Hamano <gitster@pobox.com>
Date
May 8, 2012, 19:37 UTC
Message-ID
<7v8vh2v501.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CADB4Qb35FfTL=XX04iR71+2Rg8p4s2roqAF8b_BdFNP9YN=sfA@mail.gmail.com>
Egor Ryabkov <egor.ryabkov@gmail.com> writes:
Show 5 quoted lines
>>> "$ GIT_TRACE=1 git fetch" gives somewhat different output on local PC
>>> and server:
>>> http://pastecode.com/bd3fc1a79f8e9d1eaf30911d9895938051c472f4
>> ...
> Did you imply that it's better to paste logs directly in the email?

No, I did not *imply* it; it just didn't "click" that the above was a URL to a pastebin.

Show 8 quoted lines
> ############# AWS results #############
>
> $ GIT_TRACE=1 git fetch
> trace: built-in: git 'fetch'
> trace: run_command: 'ssh' 'git@github.com' 'git-upload-pack
> '\''(username)/(reponame).git'\'''
> ERROR: Repository not found.
> fatal: The remote end hung up unexpectedly

Assuming that these "(REDACTED)" are not hiding some crucial difference between the two destinations, it seems to be the git client installed on the latter one seems to be the one that is at fault.

But as I said, "ERROR: Repository not found." does not seem to match any message of the released version of Git, so I cannot even tell where it is failing.

It could be that the message is coming from a customized version of ssh login handler github uses to shard and map the user accounts to directories (it would have said "fatal: '/var/tmp/xx' does not appear to be a git repository" if they were running the vanilla Git), and if that is the case, perhaps the argument thrown at git-upload-pack from your local box and the problematic box somehow look different to Github, but that is in the "(REDACTED)" part, so I cannot tell from what was pasted in the pastebin.

Incidentally, oogling [github "ERROR: Repository not found."] seems to give quite a many hits.

Previous: Egor RyabkovNext: Jeff King
Message 6 of 12 in “Git fetch/pull stopped working”
  1. Egor RyabkovMay 7, 2012
  2. Junio C HamanoMay 7, 2012
  3. Carlos Martín NietoMay 8, 2012
  4. Jeff KingMay 8, 2012
  5. Egor RyabkovMay 8, 2012
  6. Junio C HamanoMay 8, 2012
  7. Jeff KingMay 8, 2012
  8. Carlos Martín NietoMay 8, 2012
  9. Egor RyabkovMay 8, 2012
  10. Egor RyabkovMay 11, 2012
  11. jaseem abidMay 11, 2012
  12. Jeff KingMay 11, 2012

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.