this post was submitted on 20 Nov 2024
864 points (97.6% liked)

Programmer Humor

19623 readers
2830 users here now

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.

Rules

founded 1 year ago
MODERATORS
864
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] Korne127 45 points 2 days ago (2 children)

Poor guy basically did a git reset —hard HEAD without even a git repository

[–] GreenAppleTree 10 points 1 day ago

Even reset hard wouldn't delete untracked files. This was a complete overreach by the GUI, performing a clean (and likely a forced one, as git's requireForce defaults to true).

And they did rectify that eventually, giving a warning, and an option to simply reset. It's unfortunate this poor person had to be the trigger for that change.

[–] [email protected] 1 points 1 day ago

WORSE! If you read the thread and linked issue, it was closer to a clean.