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

Programmer Humor

19735 readers
7 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
(page 4) 50 comments
sorted by: hot top controversial new old
[–] RoyaltyInTraining@lemmy.world 6 points 1 week ago (1 children)

VS Code could really use some work in that regard and I really do feel bad for that person, but this is also just funny as heck

load more comments (1 replies)
[–] Michal@programming.dev 5 points 1 week 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)
[–] hakunawazo@lemmy.world 5 points 1 week ago
[–] AnUnusualRelic@lemmy.world 4 points 1 week ago* (last edited 1 week ago) (5 children)

Looks like windows should come with a dictionary.

"Huh, discard, I wonder what that does. Let's try it on all my work from the last six months"

Idiots gonna idiot...

load more comments (5 replies)
[–] kamen@lemmy.world 4 points 1 week ago* (last edited 1 week 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).

load more comments
view more: ‹ prev next ›