this post was submitted on 20 Nov 2024
755 points (97.6% liked)

Programmer Humor

19645 readers
2374 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
755
submitted 20 hours ago* (last edited 20 hours ago) by [email protected] to c/programmer_humor
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 28 points 16 hours ago (10 children)

deleted a chunk of my work the other day by pressing Ctrl z in windows explorer. my project was without source control installed (cuz it was in Dev stage), and Ctrl shit z/Ctrl y hotkeys didn't work, so that chunk was just gone, persished forever... or so I though. I remembered vs code having a file history under some panel. found it, and here it was - at least some of the latest history of my file. lesson learned: even in Dev where nothing is yet working, finish your day of coding with a commit to a remote repo.

[โ€“] GetOffMyLan 7 points 9 hours ago

Every new project for me starts with setting up git. There's no reason not to. It takes seconds.

load more comments (9 replies)