this post was submitted on 20 Nov 2024
1 points (66.7% liked)

Programmer Humor

31463 readers
1745 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] jmcs@discuss.tchncs.de 0 points 2 years ago (1 children)
  1. Ignore the scary warning VS Code shows you when you press the button.
[–] Hawke@lemmy.world 0 points 2 years ago (1 children)

I dunno, “discard changes” is usually not the same as “delete all files”

[–] Starbuck@lemmy.world 0 points 2 years ago (1 children)

What exactly do you think discard means?

[–] Hawke@lemmy.world 0 points 2 years ago (1 children)

“Changes” are not the same thing as “files”.

I’d expect that files that are not in version control would not be touched.

[–] EleventhHour@lemmy.world 0 points 2 years ago* (last edited 2 years ago) (1 children)

Apparently, it means changes to the directory structure and what files are in them, not changes within the files themselves. It really ought to be more clear about this.

[–] MajorHavoc@programming.dev 1 points 2 years ago* (last edited 2 years ago)

Yeah. They did substantially modify the message to make it much clearer, thankfully.