Accidentally wiped my Git working tree trying to undo a commit of changes that I wanted to commit to another branch instead. That's what I get for running commands directly from Google search results without even visiting the website.
@mcread I've been a programmer for decades. I still make these glorious mistakes from time to time.
@thor Nobody on this planet is immune to human traits ..
@thor ouch! When I try stuff like that I usually do it on a different branch. :) I learned my lesson from messing it up all the time
@thor
In case you haven't heard of it before:
git-reflog can be a good friend in these kinds of situations
@thor Oh Thor ...