this post was submitted on 20 Nov 2024
858 points (97.5% liked)

Programmer Humor

19623 readers
1345 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
you are viewing a single comment's thread
view the rest of the comments
[–] Korne127@lemmy.world 45 points 1 day ago (2 children)

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

[–] GreenAppleTree@lemmy.world 11 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.

[–] JackbyDev@programming.dev 1 points 23 hours ago

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