检索中止的git rebase中弹出的藏匿编辑
问题描述:
我是个白痴。我隐藏了一些更改,以便将它们放入先前的提交中,因此我重新设计了交互,编辑了提交,弹出存储,然后意识到这会导致其他提交出现问题,因此我应该只做一个新的提交。放弃了rebase,然后试图弹出藏匿......我不再拥有。我在失败的基地里失去了存储!有没有办法让它恢复?检索中止的git rebase中弹出的藏匿编辑
git stash
git rebase -i [email protected]{3}
(chose to edit [email protected]{2})
git stash pop
git rebase --abort
git stash pop
...
... aaaaand没什么可以弹出的!
这将帮助你:http://*.com/documentation/git/1440/stashing/12432/recover-a-dropped-stash#t=201611290743079506482 – Deep
的[如何恢复可能的复制在Git下降了吗?](http://*.com/questions/89332/how-to-recover-a-dropped-stash-in-git) – Deep
一个存储只是一个提交(实际上是两次提交),所以reflog应该在这里有一些用处。只需找到你的存储提交,然后使用它。 –