私のリポジトリでは、裸のメインリポジトリをリモートで追跡しています。私は過去に起源からのフェッチに問題があったことはありません。
しかし、今朝リモートアップデートしようとすると、次のエラーが発生しました。
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 / integer/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/