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

Re: git history feedback

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Jun 4, 2026, 09:34 UTC
Message-ID
<0299ea0d-a042-4457-bd7e-0904b38a219b@app.fastmail.com>
In-Reply-To
<87ecimhg8s.fsf@rasmusvillemoes.dk>
On Thu, Jun 4, 2026, at 10:17, Rasmus Villemoes wrote:
Show 12 quoted lines
>[snip]
>
> So today I had occasion to put it to real use, and then I found two
> things I'd like to be able to do with it:
>
> When a commit needs to be split into three or more commits, it is a
> little cumbersome to do iteratively, since the new commit to split
> obviously has a new sha, so one first has to figure out what that new id
> is and then do another "git history split". For higher values of "three"
> that becomes rather tedious. So it would be nice if there was an
> iterative mode, which after splitting off the first commit would
> automatically start again with the new child commit.
For commit subject `anchor` I would do something like this.
1. `git history split :/anchor`
2. Split out the first commit with a new message; keep the `anchor`
   subject of the original
3. Repeat (1)
>[snip]
Previous: Patrick Steinhardt
Message 3 of 3 in “git history feedback”
  1. Rasmus VillemoesJun 4, 2026
  2. Patrick SteinhardtJun 4, 2026
  3. Kristoffer HaugsbakkJun 4, 2026

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.