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

Re: Feature Request git snap, Lightweight Commit Workflow for Iterative Development

From
Ben Knoble <ben.knoble@gmail.com>
Date
Jul 3, 2025, 13:13 UTC
Message-ID
<88CDEF6D-A01C-46BB-A394-CE0E3C3F9B87@gmail.com>
In-Reply-To
<aGWq7vBSYuuKW69o@fruit.crustytoothpaste.net>
Show 17 quoted lines
> Le 2 juil. 2025 à 17:56, brian m. carlson <sandals@crustytoothpaste.net> a écrit :
> 
> On 2025-07-02 at 18:30:17, Suraj Bhadrike wrote:
>> Hi Git contributors,
>> 
>> This proposal introduces a new command git snap  designed to support
>> highly iterative development workflows nowdays  influenced by AI
>> coding assistants.
>> 
>> The rise of AI assistants and agentic AI workflows has changed the
>> pace and nature of coding. A developer might cycle through dozens of
>> variations of a function or component in a short period while
>> collaborating with an AI.
> 
> I mean, I do this too without an AI.  I frequently want to make changes
> until something works, and then snapshot it and modify it to polish it
> and make it more presentable.
Yep. I think of this as “locally I do whatever I want; polish before publish.”
Show 9 quoted lines
> 
>> This feature would provide a soft commit or snapshot capability,
>> allowing developers to save their work state frequently and create a
>> new commit every time as a snapshot or checkpoint without a commit
>> message and flag where We can provide an option for developers to
>> include files at the start of snap Session.
> 
> I think a lot of this is achievable with current functionality, just in
> a slightly different way.
Agreed. My variant is something like
Repeat: { hack && commit -m wip --amend }
The first commit omits the amend option, of course, and I can inspect previous snapshots with the reflog.
Previous: brian m. carlsonNext: Suraj Bhadrike
Message 4 of 5 in “Feature Request git snap, Lightweight Commit Workflow for Iterative Development”
  1. Suraj BhadrikeJul 2, 2025
  2. Lucas Seiki OshiroJul 2, 2025
  3. brian m. carlsonJul 2, 2025
  4. Ben KnobleJul 3, 2025
  5. Suraj BhadrikeJul 3, 2025

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.