git/list[1] front-page[2] threads[3] people[4] search[5] about
 

error: could not parse 'Drop' when rebasing

From
JSJarno Suni <jarno.ilari.suni@gmail.com>
Date
Mar 26, 2025, 07:17 UTC
Message-ID
<CAOqj8L0hknJ2aYGSmXdUvRgzHZRWBTMgSvywGpc=TUZL-Dqnmw@mail.gmail.com>
git version 2.43.0

$ git rebase --edit-todo error: could not parse 'Drop' error: invalid line 1: r Drop option --figure-soname-bumps error: could not parse 'Drop' error: invalid line 1: p Drop option --figure-soname-bumps You can fix this with 'git rebase --edit-todo' and then run 'git rebase --continue'. Or you can abort the rebase with 'git rebase --abort'.

"Drop option --figure-soname-bumps" is the commit message. Git doesn't seem to accept any command for the commit. First I tried command d.

Workaround: I did `git rebase --abort`. Started new rebase, used r command for the commit to rename it to not have "Drop" as first word. After that I can rebase again and use d command for the commit.

-- 
Jarno Suni
Next: Phillip Wood
Message 1 of 3 in “error: could not parse 'Drop' when rebasing”
  1. Jarno SuniMar 26, 2025
  2. Phillip WoodMar 26, 2025
  3. Phillip WoodMar 26, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.