this post was submitted on 20 Nov 2024
851 points (97.4% liked)
Programmer Humor
19623 readers
1 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Poor guy basically did a git reset —hard HEAD without even a git repository
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.
WORSE! If you read the thread and linked issue, it was closer to a
clean
.