120
submitted 2 weeks ago by [email protected] to c/[email protected]

As the title says. I put the wrong value inside a clean up code and I wiped everything. I did not push any important work. I just want to cry but at least I can offer it to you.

Do not hesitate to push even if your project is in a broken state.

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 5 points 2 weeks ago

You guys don't use a COW (copy on write) filesystem?

[-] [email protected] 10 points 2 weeks ago

Version control would be quite adequate if using a sane amount of time between pushes

[-] [email protected] 6 points 2 weeks ago

Except that one is automatically versioned and would have saved you this pain, and the other relies on you actively remembering to reflexively commit, and then do extra work to clean up your history before sharing, and once you push, it's harder to change history and make a clean version to share.

These days, there's little excuse to not use COW with automated snapshots in addition to your normal, manual, VCS activities.

[-] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago)

I'm paranoid. I have like 5 different ways (including 3-2-1 backups) to restore everything. COW fs is great for stuff that is not a git-able project.

this post was submitted on 03 Jul 2025
120 points (94.8% liked)

Programmer Humor

37270 readers
29 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS