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

Programmer Humor

19623 readers
1229 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 1 year ago
MODERATORS
(page 3) 50 comments
sorted by: hot top controversial new old
[–] mox@lemmy.sdf.org 169 points 1 day ago* (last edited 1 day ago) (2 children)

In case anyone else is wondering, or simply doesn't like reading screen shots of text, this is apparently a real report:

https://github.com/microsoft/vscode/issues/32405

[–] eating3645@lemmy.world 125 points 1 day ago (2 children)

Steps to Reproduce:

1.Go near this fucking shit editor.

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

🤣

[–] jmcs@discuss.tchncs.de 90 points 1 day ago (12 children)
  1. Ignore the scary warning VS Code shows you when you press the button.
[–] Hawke@lemmy.world 109 points 1 day ago (14 children)

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

load more comments (14 replies)
load more comments (11 replies)
load more comments (1 replies)
load more comments (1 replies)
[–] kamen@lemmy.world 4 points 20 hours ago* (last edited 20 hours ago)

I agree with the "learn the CLI", but to newcomers I'll also suggest to look at the IDE/editor's output channel - if there's GUI for Git, there are also most likely logs for what's happening under the hood - even if a little noisy, it can be a good learning resource. And of course if you're learning and unsure of what's happening (with the CLI or through a GUI), do so in a non-destructive manner (by having proper backups).

[–] ICastFist@programming.dev 4 points 20 hours ago (1 children)

Same account that complained about the christmas santa hat

load more comments (1 replies)
[–] Michal@programming.dev 5 points 21 hours ago (7 children)

If the files were already staged then git should have blobs in the git folder, so they should be recoverable.

load more comments (7 replies)
[–] shekau@lemmy.today 1 points 15 hours ago

VSCodium better

[–] LengAwaits@lemmy.world 39 points 1 day ago (7 children)

Looks like someone forgot about the 3-2-1 rule. Teachable moment.

load more comments (7 replies)
[–] Artyom@lemm.ee 24 points 1 day ago (8 children)

If you ever happen to have 5000 uncommitted files, you shouldn't be asking yourself if you should commit more often. You should be asking yourself how many new repos you should be making.

load more comments (8 replies)
load more comments
view more: ‹ prev next ›