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

Re: Rebasing cascading topic trees

From
Jeff King <peff@peff.net>
Date
Nov 17, 2016, 01:45 UTC
Message-ID
<20161117014522.lzk43sfmpl4ted3d@sigill.intra.peff.net>
In-Reply-To
<CAM+g_Ns-9Sj5r0V2XXZfGQz+0XiO1O-hT03japEGibkNgh8a4A@mail.gmail.com>
On Wed, Nov 16, 2016 at 04:12:20PM -0800, Norbert Kiesel wrote:
> Yes, `git rebase --onto topic1 topic1@{1} topic2` is the answer!

See also the `--fork-point` option, which (I think) should do this for you (and is the default if "topic1" is the configured upstream for topic2 and you just run "git rebase").

-Peff
Previous: Norbert KieselNext: Norbert Kiesel
Message 4 of 5 in “Rebasing cascading topic trees”
  1. Norbert KieselNov 16, 2016
  2. Junio C HamanoNov 16, 2016
  3. Norbert KieselNov 17, 2016
  4. Jeff KingNov 17, 2016
  5. Norbert KieselNov 17, 2016

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.