I ran git rebase -i mytag
and, based on git's reference , used the keyword drop
instead of removing a line. It seems like my version (2.5.4) doesn't support it, so I got this error:
Unknown command: drop aaabbbbccccddddd Update README.md
Please fix this using 'git rebase --edit-todo'.
After running the recommended command, I removed the lines where I added a drop
, saved and quit the editor. I was hoping git
would continue the previous rebase process or let me know what to do next. Instead, no message is shown on my CLI.
要继续之前的rebase进程,只需运行git rebase --continue
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.