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

Question about git rebase --onto

From
Pascal Obry <pascal@obry.net>
Date
Feb 2, 2010, 17:49 UTC
Message-ID
<4B6865A9.60603@obry.net>
It seems to me that:
   $ git co topic
   $ git rebase --onto master topic~2 topic

Used to do the job and rebase the topic branch as expected. Today when I tried with 1.7.0.rc1.10.gb8bb after the rebase above I was left on a detached head.

Is my recollection wrong? Has this been changed recently?

Thanks, Pascal.

-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
Next: Junio C Hamano
Message 1 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.