如何解决"Failed to traverse parents of commit"?



我想把我的repo推送到GitHub。我提交了我的更改,然后根据本教程使用了git status命令。这是我得到的回复:

error: Could not read 2e647eb0498a87d6d9c54eb9efd78f29d24f6da8
error: Could not read 2e647eb0498a87d6d9c54eb9efd78f29d24f6da8
fatal: Failed to traverse parents of commit 92dfb5485cf2e5021dd979db8f96eaac5e3f181a
On branch main

任何帮助都将不胜感激。

可能是本地驱动器故障?检查硬盘的S.M.A.R.T.状态(也许还可以运行一些额外的S.M.A.R.T.自检(,在任何情况下,首先确保您有所有数据的备份!

最新更新