826

Yeah learned this the hard way.

you are viewing a single comment's thread
view the rest of the comments
[-] elbiter@lemmy.world 4 points 1 day ago

I just commit and push in the same line, all the time. Whenever I have to undo a change, I go to GitHub/Gitlab browse for the previous version and paste from there.

I definitely know is not the intended way to do this, but it works for me and has saved my ass several times.

this post was submitted on 06 Oct 2025
826 points (96.7% liked)

Programmer Humor

26772 readers
772 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