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

Dumb "continuous" commit dumb question

From
PLPat LeSmithe <qed777@gmail.com>
Date
Aug 19, 2008, 03:47 UTC
Message-ID
<48AA4263.8090606@gmail.com>
Hello,

Is it possible to enable git to automatically and continuously "softly" commit or stage *all* changes to a [subset of] files in a repository, without my intervention, as they happen? Perhaps via a daemon which monitors the disk for explicit file-saving?

Of course, I would still be able to perform explicit commits (with descriptive comments) and other git commands, in which case there probably should be smart handling of the recent soft history. For example, it could simply be discarded.

I understand that I could simply remember to commit and/or branch early and often. But given that changes by an individual on a given branch are well-ordered by time, and that the "continuous" operation may be cheap in many situations, a "live" journal could be useful.

Perhaps a better term is branch-aware undo or git with microstructure.
Sorry if this is old stuff or plain crap.
Thanks.

Sincerely, Pat LeSmith

Next: Marcus Griep
Message 1 of 9 in “Dumb "continuous" commit dumb question”
  1. Pat LeSmitheAug 19, 2008
  2. Marcus GriepAug 19, 2008
  3. David TweedAug 19, 2008
  4. Shawn O. PearceAug 19, 2008
  5. Jeff KingAug 19, 2008
  6. Avery PennarunAug 19, 2008
  7. David TweedAug 19, 2008
  8. Avery PennarunAug 19, 2008
  9. David TweedAug 19, 2008

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.