我运行了 git rebase -i mytag
并且基于 git's reference , 使用关键字 drop
而不是删除一行。好像我的版本(2.5.4)不支持它,所以我得到了这个错误:
Unknown command: drop aaabbbbccccddddd Update README.md
Please fix this using 'git rebase --edit-todo'.
运行推荐的命令后,我删除了添加 drop
的行,保存并退出编辑器。我希望 git
会继续之前的 rebase 过程或者让我知道下一步该做什么。相反,我的 CLI 上没有显示任何消息。
最佳答案
要继续之前的 rebase 过程,只需运行 git rebase --continue
。
关于git - 使用 git rebase --edit-todo 修复脚本后要做什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35163469/