打开 git 存储库时,我在GitX-L中收到以下错误:
The document “REPO_NAME” could not be opened.
An error occured while trying to open file://localhost/Volumes/SERVER/www/REPO_NAME/.git/.
fatal: missing object 0000000000000000000000000000000000000000 for refs/remotes/origin/HEAD
有谁知道是什么导致了这个问题或如何解决它?使用命令行时我没有收到错误,所以我假设这是 GitX-L 的问题。
git fsck
确实告诉我一堆悬而未决的条目,这可能是罪魁祸首吗?