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

Git fetch/pull stopped working

From
Egor Ryabkov <egor.ryabkov@gmail.com>
Date
May 7, 2012, 22:45 UTC
Message-ID
<CADB4Qb1BhWpm1mAwiHy+edySvo7P+YcvrSiTSc8dVzKQsnNCfQ@mail.gmail.com>
Hi guys!

git fetch and pull stopped working a few days ago on my server with the following message:

$ git fetch
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

fetch/push/pull still work just fine with the same (GitHub) repository from my local PC, and they also work fine with another GH repo from another server.

I tried comparing "git remote -v" output for local PC and server, they're the same. "$ GIT_TRACE=1 git fetch" gives somewhat different output on local PC and server: http://pastecode.com/bd3fc1a79f8e9d1eaf30911d9895938051c472f4 but the output is identical for the two servers I have (both are AWS instances, if that matters).

There are two clones of the repository on the server in question, both giving the same error. ssh git@github.com works as it should, so SSH keys are alright.

One quirk I noticed is that "git pull origin st+[Tab]" used to expand to a branch name; now it expands to a name of the file in current directory (and the filename is not the same as branch name).

I guess it's some problem with git install on the server - any ideas how I could try and diagnose this, besides GIT_TRACE?

A discussion on Stackoverflow: http://stackoverflow.com/questions/10438082/git-fetch-pull-have-stopped-working

Thanks in advance!
Egor.
Next: Junio C Hamano
Message 1 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.