3 ms·
Stashing vs WIP commits have pros and cons. I've never hit any of these problems you're pointing out, so I don't have any particular strong opinion about which
by edflsafoiewq 2y ago
Stashing vs WIP commits have pros and cons. I've never hit any of these problems you're pointing out, so I don't have any particular strong opinion about which one you should use.
I can see that being nice I guess.
If jj's stashes are just regular commits, don't you have the problem where you accidentally push a stash just like you push a WIP commit?
- stouset 2y agoIt’s not like these are git’s only pain points. Git is practically the poster child for software that’s difficult and confusing to use.
- edflsafoiewq 2y agoI don't think so. Like the OP, my everyday git usage is pretty straightforward. So "maybe this thing you do every once in a while could be a little nicer" doesn't feel very compelling.
- steveklabnik 2y ago> don't you have the problem where you accidentally push a stash just like you push a WIP commit? Because jj doesn’t require commits to be on a branch, and the equivalent feature (bookmarks) don’t automatically advance, if you created a new commit to stash some stuff, the name wouldn’t move to it, and so when you push nothing would happen.