3 ms·
> git reset --hard HEAD story of my life
by polyterative 7y ago
> git reset --hard HEAD
story of my life
- tehlike 7y ago> git stash # i might need this one day And i never need it.
- fouc 7y agoI've started saving my stashes to branches instead.. adding a _ on the front of the branch name to remind me to delete the branch at some point
- larkeith 7y agoOut of curiosity, do you ever actually delete the branches? I would absolutely just end up with a number of _-prefixed branches on all my projects.
- C4stor 7y agoI don't allow myself to have more than 1 active stash at any given point on a project. You quickly learn to delete with no regret some code you wrote !
- anoncake 7y agoBetter than the other way round.