问答 / 1 / 6 / 创建于 2年前
正常来说, 红框里面是新纪录, 没有保存,也没有分支或标签 ,还能找回吗
git reflog 找出对应操作的commit ID,然后 git reset --hard [commit ID]
git reflog
在书上也找到答案了
我要举报该,理由是:
git reflog
找出对应操作的commit ID,然后 git reset --hard [commit ID]