2

我刚刚做了一个git status,它抛出了以下错误:

致命:坏对象HEAD

我也尝试过git fsck给出以下输出:

Checking object directories: 100% (256/256), done.
error: HEAD: invalid sha1 pointer 921078fd0d6521b5f12f1c46dc9865c2856e9dc0
error: refs/heads/master does not point to a valid object!
error: refs/remotes/origin/master does not point to a valid object!
notice: No default references
missing blob 247d4de31a5b4b32c075c3249ae581a735dadc23

有什么想法可以轻松解决这个问题吗?

4

0 回答 0