|
|
Subscribe / Log in / New account

Jujutsu: a new, Git-compatible version control system

Jujutsu: a new, Git-compatible version control system

Posted Jan 25, 2024 7:29 UTC (Thu) by wtarreau (subscriber, #51152)
In reply to: Jujutsu: a new, Git-compatible version control system by madscientist
Parent article: Jujutsu: a new, Git-compatible version control system

I agree that the index is probably the most difficult to grasp specificity of Git, yet one of its most powerful feature when you finally understand how it works. When I develop, I usually spot bugs in areas I visit, that are unrelated to what I'm doing and I'm quite happy to fix all of that at once, sometimes making a temporary commit for certain changes that I'll rechange later, sometimes deciding to do that manually at the end. I, too, use interactive add a lot, I even edit the patches on the fly to commit certain changes in multiple steps, since git's patch parser is extremely permissive. That's convenient for example to insert a preliminary change that only reindents an enum in preparation for larger names before adding the new feature, all of this done at once via the index, without ever having to have written a version of the temporary step. It's super convenient and even a little bit addictive, given how efficient it is. For this reason alone, I sometimes feel very sorry for some people developing in bloated IDEs or web interfaces (e.g. github) without all these facilities. In fact the result is visible in their commits, tons of unrelated stuff merged at once, they tend to use commits just as points in time like a snapshot system...


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds