Git fetch/pull stopped working

From: Egor Ryabkov <hidden>
Date: 2016-06-15 22:53:46

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help