我正在尝试编辑一个旧的提交消息,正如here所解释的那样。
问题是,现在,当我尝试运行rebase -i HEAD~5
时,它显示的是interactive rebase already started
。
于是我尝试了:git rebase --continue
,但得到了这个错误:
error: Ref refs/heads/master is at 7c1645b447a8ea86ee143dd08400710c419b945b but expected c7577b53d05c91026b9906b6d29c1cf44117d6ba
fatal: Cannot lock the ref 'refs/heads/master'.
有什么想法吗?
https://stackoverflow.com/questions/1884474
复制相似问题