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

Programmer Humor

20866 readers
1457 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
867
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 128 points 3 months ago (28 children)

Steps to Reproduce:

1.Go near this fucking shit editor.

2.Commit the deadly sin of touching the source control options.

🤣

[–] [email protected] 93 points 3 months ago (26 children)
  1. Ignore the scary warning VS Code shows you when you press the button.
[–] [email protected] 110 points 3 months ago (14 children)

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

[–] [email protected] 2 points 3 months ago (1 children)

If the "changes" are all your files, discarding them for me means basically delete my files, you know, the ones you are trying to add.

[–] [email protected] 14 points 3 months ago* (last edited 3 months ago)

At the same time, OP seems a layman, and might be coming from things like Microsoft Word, where "Discard all changes" basically means "revert to last save".

EDIT: After reading the related issues, OP may have also thought that "discard changes" was to uninitialise the repository, as opposed to wiping untracked files.

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