this post was submitted on 07 Feb 2025
529 points (98.9% liked)

Programmer Humor

20429 readers
2618 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] ulterno@programming.dev 1 points 4 days ago* (last edited 4 days ago)

Except for an (accidental) git restore/git reset. Those are permanent and can't be undone.

Unless, you didn't close your editor before doing so, in which case, you can just save it again.

I'm not talking about IDEs.
Even Kate gives you the option to either discard the deleted document/changes or keep them and save again.