this post was submitted on 20 Nov 2024
876 points (97.6% liked)
Programmer Humor
19630 readers
1217 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
I don't think it's reasonable to assume most people would think something that says "discard all changes" would run
git clean -f
instead of something likegit reset
orgit reset --hard
.The message is better now, regardless. Running this in Codium I get "Are you sure you want to DELETE 2 files? This is IRREVERSIBLE! These files will be FOREVER LOST if you proceed." Which is way more clear than something like "discard ALL changes" without even giving you any sort of summary about what those changes are. Especially given the logic from the linked comment on the second issue,
Given the "change" they just did was to click "Initialize Repository".