←back to thread

3 points birb07 | 1 comments | | HN request time: 0.206s | source

Wouldn't git be simpler without stashes and tags?

Tags can be deleted and recreated, so they are just like branches and not immutable as some claim.

Same goes for stashes. They are commits which can't be pushed. Stashes could be implemented by creating a new branch and committing both with a generated name.

Am I missing something? Do both things provide more value than they add complexity/things to learn? :)

Show context
aosaigh ◴[] No.45247701[source]
I use stashes like I would use a shelf above a workbench - to put things for a few minutes while I clean up. I think it's a nice feature.
replies(1): >>45248084 #
1. giveita ◴[] No.45248084[source]
It is like a faucet and a cistern. Same plumbing, different porcelain.