- 首先输入:
git fsck --lost-found
- 上述可以看到记录:
dangling commit xxxidxxx
,
然后git show xxxxidxxxx
,查看该id的具体内容 - 找到你想要的id后输入
git merge xxxxidxxxx
Git stash clear后如何恢复
最新推荐文章于 2025-04-18 13:45:25 发布
git fsck --lost-found
dangling commit xxxidxxx
,git show xxxxidxxxx
,查看该id的具体内容git merge xxxxidxxxx