Git卡在rebase“无法存储”(可能与子模块相关)

时间:2017-08-18 12:52:51

标签: git git-submodules rebase

我试图中止一个rebase,但它失败了以下内容:

$ git rebase --abort
warning: Failed to merge submodule Client (not checked out)
"git stash store" requires one <commit> argument
Cannot store

此时我的git status显示了两处更改:

    both modified:   Client
    both modified:   blah.js

值得注意的是,blah.js是一个旧文件,过去曾有过一些rere解决方案。也许我的退步已经过得太远了!

如果我提交更改,或重置更改,然后再次尝试中止,则会发生同样的事情。

我怎么逃避?!

我尝试过:

$ trash .git/MERGE_RR
$ trash .git/rr-cache/

1 个答案:

答案 0 :(得分:0)

我应该尝试的是什么:

$ trash .git/rebase-merge/

成功地让我脱离了篮板,我可以继续恢复。

全部谢谢!