2 ms·
You are right. There a times when, if I have a local-only branch and there is no utility in keeping the error I will reset. It is rare but it happens. If I wen
by quickthrower2 4y ago
You are right. There a times when, if I have a local-only branch and there is no utility in keeping the error I will reset. It is rare but it happens.
If I went down a direction then tried something else, I prefer revert so I don't lose that. That said, tagging then resetting is probably just as good and might have the best of both worlds. You get to keep what you did and you keep the history clean. I only just thought of this now!
Tagging and resetting is of course a bit like stash, but I see stashes as very temporary. It is easy to lost them due to stash pop.