假设我正在经历一个 git bisect,并且在运行一个git bisect bad
命令后,我的 git bisect 会像这样被中断:
$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 1 step)
error: Your local changes to the following files would be overwritten by checkout:
app/app.iml
Please commit your changes or stash them before you switch branches.
Aborting
我可以通过运行简单地消除此文件:
git checkout -- app/app.iml
这将使我的 git 状态再次清洁.. 但我不知道此后如何继续(即让 git bisect 继续平分).. 我相信我之前做过一个git bisect bad
,它有点跳过了一步或做了什么我没想到会。我只是想恢复我的 git bisect 操作.. 怎么做?