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

Re: Question about git rebase --onto

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 2, 2010, 18:15 UTC
Message-ID
<7vd40n5wry.fsf@alter.siamese.dyndns.org>
In-Reply-To
<7v636f7biw.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 9 quoted lines
> Possible user errors I can think of are:
>
>  - If 'topic' is not a local branch, the result will be on a detached
>    HEAD, as you are starting from a detached HEAD (i.e. 'topic' could be a
>    tag);
>
>  - Until you resolved and said "rebase --continue" (or --skip) to allow it
>    to conclude the rebase when the operation conflicted, you would be on a
>    detached HEAD.

Just to clarify, these things are _not_ errors at all. What I meant by "user error" was to notice that the HEAD is detached in these cases (which is not an error) and panicking (which is). Both of these are normal procedures and sane states.

Previous: Junio C HamanoNext: Pascal Obry
Message 3 of 12 in “Question about git rebase --onto”
  1. Pascal ObryFeb 2, 2010
  2. Junio C HamanoFeb 2, 2010
  3. Junio C HamanoFeb 2, 2010
  4. Pascal ObryFeb 2, 2010
  5. Junio C HamanoFeb 4, 2010
  6. Pascal ObryFeb 4, 2010
  7. Junio C HamanoFeb 4, 2010
  8. Pascal ObryFeb 17, 2010
  9. Tay Ray ChuanFeb 17, 2010
  10. Pascal ObryFeb 17, 2010
  11. Tay Ray ChuanFeb 17, 2010
  12. Pascal ObryFeb 17, 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.