by MarceColl · 2y ago · 0 comments
Theres no overhead at all in thinking these, you can never lose work by mistake, you can never mess it up. It just works
Tools like the stash are band aids that come with their own set of “fun” failure modes.
The easiest and by far most common thing to do of course is to just complete the commit you're working on before switching branches.
Wouldn’t it be nice if there was a tool that didn’t need you to internalize all these workarounds?
Then checkout the new branch and do my work.
When I come back, `git reset --soft HEAD^`, and continue