News for hackers. Stuff that matters.
Re:Jujutsu for Busy Devs by riwsky on Tuesday July 22, 2025 @08:24AM (#44646003)
Mental model: “everything is a commit”. Commits are commits. Stashes are commits. The working tree is a commit. The index doesn’t exist, because it’s unnecessary.

The data model is technically of revisions, which are stable across operations like rebases (which change the underlying git commit).

How to conceptualize a branch: as a bookmark of a specific commit.

Re:Jujutsu for Busy Devs by ben0x539 on Tuesday July 22, 2025 @09:55AM (#44646953)
Yeah, I think that extra layer of revision identity is giving my intuition trouble, like it's obvious it needs to be there but the consequences are still percolating through my head.