使用 git rebase --edit-todo 修复脚本后要做什么?
What to do after fixing the script with git rebase --edit-todo?
我 运行 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 上没有显示任何消息。
要继续之前的变基过程,只需运行 git rebase --continue
。
我 运行 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 上没有显示任何消息。
要继续之前的变基过程,只需运行 git rebase --continue
。