![](/img/trans.png)
[英]How do you use the `git rebase --edit-todo` cmd in interactive rebase when all current to-do's are set to `reword`?
[英]What to do after fixing the script with git rebase --edit-todo?
我运行了git rebase -i mytag
并根据git的引用 ,使用了关键字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
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.