The hard reset that wiped three days of uncommitted work
by•
Was trying to stash local changes to quickly check an old feature branch.
Brain was on autopilot, so instead of git stash, I typed git reset hard HEAD on the wrong branch. Three days of local experimental work was instantly wiped out. git reflog couldn't save me because the files were never committed.
Spent the rest of the evening rewriting the core module from memory while drinking cold coffee.
2 views
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.