在我的存储库中,我远程跟踪我们的主存储库,它是裸露的。从过去的起源中获取我从来没有遇到过任何问题。
但是,当我今天早上尝试远程更新时,出现以下错误:
fatal: '/users/integrator/project' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
error: Could not fetch origin
我没有改变任何东西,存储库肯定还在。有几个人可以访问集成商帐户,但他们通常会合并和拉取。我们不允许推送到此存储库。
我的问题是:什么可能导致这种情况发生?或者,是否有任何诊断可以用来找出问题所在?我不是唯一一个突然遇到这个问题的用户,所以问题更有可能在起源方面。
更新:
当我尝试克隆裸存储库时,出现以下错误:
git clone /users/integrator/project
Cloning into project...
fatal: failed to open '/users/integrator/project/.git/objects': No such file or directory
以下是 /users/integrator/project 的内容列表:
config
HEAD
packed-refs
ssh_helper
bin/
hooks/
info/
exclude
objects/
[lots of folders with two character long names]
info/
pack/
refs/
heads/
tags/