this post was submitted on 20 Nov 2024
853 points (97.4% liked)

Programmer Humor

19735 readers
11 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
853
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 92 points 1 week ago (26 children)
  1. Ignore the scary warning VS Code shows you when you press the button.
[–] [email protected] 109 points 1 week ago (14 children)

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

[–] [email protected] 32 points 1 week ago (1 children)

Nowadays the warning even says that this cannot be undone. Maybe that wasn’t present in 1.15, though.

[–] TopRamenBinLaden 42 points 1 week ago

It was. If you go through the OP thread, one of the responses is a picture of the dialog window that this user clicked through saying, "these changes will be IRREVERSIBLE".

The OP was just playing with a new kind of fire (VSCodes Git/source control panel) that they didn't understand, and they got burned.

We all gotta get burnt at least once, but it normally turns us into better devs in the end. I would bet money that this person uses source control now, as long as they are still coding.

load more comments (12 replies)
load more comments (23 replies)