News for hackers. Stuff that matters.
Re:Jujutsu for Everyone by skydhash on Monday September 01, 2025 @07:10AM (#45091695)
> git stash is not that simple. you'd need to remember what branch that stash applies to to get back to where you were.

I use the stash for changes I like or for small experiments, not tied to anything. For any other changes, I just create a wip commit and switch. It’s trivial to switch back and soft reset.

Re:Jujutsu for Everyone by steveklabnik on Monday September 01, 2025 @06:42PM (#45097251)
This is easy in jj too, I’ll often try something, jj new @- to try something else, and jj abandon whichever version I don’t end up using.

The nice thing is that all of this is part of the commit graph, not buried in stashes hidden from sight.