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

Preventing rebase confusion

From
Eli Barzilay <eli@barzilay.org>
Date
May 6, 2010, 11:27 UTC
Message-ID
<19426.42892.542935.899298@winooski.ccs.neu.edu>
Two suggestions (provided that I have the details right):
1. When I run `git rebase origin' I get helpful instructions when a
   conflict happens:
     When you have resolved this problem run "git rebase --continue".
     If you would prefer to skip this patch, instead run "git rebase --skip".
     To restore the original branch and stop rebasing run "git rebase --abort".
   It would be nice if the first line said something like
     When you have resolved this problem run "git add <file>" and then
     "git rebase --continue" (no need to commit).
   My guess is that this is something that confuses many people since
   everywhere conflicts are mentioned the instructions are to `add'
   and then to `commit'.
2. If I did get confused (which can still happen if I don't read the
   above addition) and commit the resolved files, I get this when I
   try `git rebase --continue':
     Applying: document the type of foo
     No changes - did you forget to use 'git add'?
   But of course there are no changes now...  So it would be nice if
   the text also said:
     If you've already committed then you can run "git rebase --skip"
     but your commit will then replace the original "...subject..."
   And/or maybe instructions for using reset to undo the commit and
   let rebase --continue do it.
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!
Message 1 of 1 in “Preventing rebase confusion”
  1. Eli BarzilayMay 6, 2010

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.