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

Programmer Humor

19623 readers
214 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
[–] Michal@programming.dev 5 points 1 day ago (4 children)

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

[–] Anticorp@lemmy.world 3 points 1 day ago (3 children)

Sounds like they weren't even using version control, and had no business anywhere near a project that size.

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

Same account that complained about the christmas santa hat

load more comments (1 replies)
[–] FreakinSteve@lemmy.world 12 points 1 day ago

Jesus saves, and so should you

[–] jlow@beehaw.org 28 points 2 days ago (1 children)

Backups, backups, backups.

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