News for hackers. Stuff that matters.
Re:Jujutsu for Everyone by MangoToupe on Monday September 01, 2025 @07:23AM (#45091791)
> git stash is not that simple.

It's a stack of diffs.

Anyway, I've probably used this to transfer changes between branches thousands of times. Once you grasp the underlying data model all these abstractions introduced by jujutsu seem more confusing.

That said, I do understand most people aren't going to take the day or so to read through any of the hundreds of detailed "explain the data model" articles online.

Re:Jujutsu for Everyone by socalgal2 on Monday September 01, 2025 @02:03PM (#45095062)
Yes I know git stash is a stack of diffs. I’m responding to this

>> With jj, I leave commits in the middle and jump to other commits (to fix a bug or make a small change I noticed I need while working on a larger change) all the time, because there's zero friction.

> For git users who are wondering "What friction? I just git stash and jump to another branch"

git stash is not equivalent to jumping to another commit in jj

Re:Jujutsu for Everyone by BeetleB on Monday September 01, 2025 @02:15PM (#45095176)
> Anyway, I've probably used this to transfer changes between branches thousands of times.

You could just use cherry pick.

Re:Jujutsu for Everyone by MangoToupe on Monday September 01, 2025 @02:16PM (#45095183)
That involves having to commit