Jujutsu: a new, Git-compatible version control system
Jujutsu: a new, Git-compatible version control system
Posted Jan 22, 2024 3:49 UTC (Mon) by NYKevin (subscriber, #129325)In reply to: Jujutsu: a new, Git-compatible version control system by martinvonz
Parent article: Jujutsu: a new, Git-compatible version control system
There are some people who like to go into detached HEAD mode, create a bunch of garbage commits while they fool around with the codebase, then checkout main (or master or whatever your repository calls it) and implicitly throw away all of those commits. It would be nice if Jujutsu had support for that use case. Unfortunately, I just don't think these ideas are compatible:
* I want the VCS to never lose my data, unless I explicitly discard it (Jujutsu, Mercurial).
* I want the VCS to automatically lose my data, unless I explicitly preserve it (Git).
I'm having a hard time thinking of a coherent UX where you can have both of those options, and you don't accidentally lose a ton of data every now and then from being in the "wrong" mode.