"Shit, does this mean I have to re-install the operating system again. Fuck me!!!!"
I have uttered this sentence too many times to count.
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
"Shit, does this mean I have to re-install the operating system again. Fuck me!!!!"
I have uttered this sentence too many times to count.
Oi ya gits, everyone knows da best way to fix a mistake is ta smash it's zoggin' 'ead in!
I just commit and push in the same line, all the time. Whenever I have to undo a change, I go to GitHub/Gitlab browse for the previous version and paste from there.
I definitely know is not the intended way to do this, but it works for me and has saved my ass several times.
I have a full repo that mirrors any actual code I have, just so I can practice the very git operations with dummy files before doing it on a real codebase. It has come in handy many many times already and I highly recommend it.