Jujutsu: a new, Git-compatible version control system
Jujutsu: a new, Git-compatible version control system
Posted Jan 19, 2024 22:41 UTC (Fri) by madscientist (subscriber, #16861)In reply to: Jujutsu: a new, Git-compatible version control system by josh
Parent article: Jujutsu: a new, Git-compatible version control system
I know a lot of people consider the index useless, but I use git commit --interactive to stage "parts" of my changes as commits multiple times every single day. I don't actually run that command myself, of course: I use it through Emacs Magit, but I couldn't work without it (or some form of it). I haven't investigated how other, index-less tools propose to handle this workflow so maybe they have a different way to do it which is just as usable. In particular saying that every time I save a file it goes into the "latest" commit is not good for me at all, unless there are straightforward ways to chop up these single commits into multiple parts again.
I make edits all over the code and it's not until later after doing much more work that I understand the changes I am making sufficiently to decide how to construct a correct stepwise set of commits from them.