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

Re: collapsing commits with rebase

From
NKnadim khemir <nadim@khemir.net>
Date
Jan 10, 2009, 10:26 UTC
Message-ID
<200901101126.43650.nadim@khemir.net>
In-Reply-To
<93c3eada0901071608r190a723bma502b68c4ab81a08@mail.gmail.com>
On Thursday 08 January 2009 01.08.44 Geoff Russell wrote:
Show 8 quoted lines
> Dear gits,
>
> I have a series of commits:
>
>     A---B---C---D---E---F
>
> I want to collapse B---C---D into one single commit. git rebase -i B  will
> allow me to do this, but I'm looking for a non-interactive incantation.

Hi Geoff, Could you please share with use the final (tested) solution? I'd be interrested to see how you did implement plan B if you did.

Cheers, Nadim.
Previous: Boyd Stephen Smith Jr.
Message 12 of 12 in “collapsing commits with rebase”
  1. Geoff RussellJan 8, 2009
  2. Johannes SchindelinJan 8, 2009
  3. Geoff RussellJan 8, 2009
  4. Johannes SchindelinJan 8, 2009
  5. Geoff RussellJan 10, 2009
  6. Boyd Stephen Smith Jr.Jan 8, 2009
  7. Miklos VajnaJan 8, 2009
  8. Boyd Stephen Smith Jr.Jan 8, 2009
  9. Geoff RussellJan 8, 2009
  10. Sitaram ChamartyJan 8, 2009
  11. Boyd Stephen Smith Jr.Jan 8, 2009
  12. nadim khemirJan 10, 2009

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.