⚒️Thor, the Norseman⚒️ er en bruker på snabeltann.no. Du kan følge dem eller kommunisere med dem hvis du har en konto hvor som helst i fediverset. Hvis du ikke har en konto så kan du registrere deg her.
⚒️Thor, the Norseman⚒️

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.

· 0 · 2

@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