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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Le 2 juil. 2025 à 17:56, brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx> 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.”

> 
>> 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.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux