Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What to do after fixing the script with git rebase --edit-todo?

Tags:

git

git-rebase

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.

like image 836
Ricardo Avatar asked Feb 02 '16 20:02

Ricardo


1 Answers

To continue the previous rebase process, just run git rebase --continue.

like image 95
Ricardo Avatar answered Sep 20 '22 03:09

Ricardo