我刚刚完成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
任何想法如何轻松解决这个问题?