[英]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.