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

Programmer Humor

27321 readers
2057 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
 

Yeah learned this the hard way.

you are viewing a single comment's thread
view the rest of the comments
[–] Eiri@lemmy.ca 16 points 1 month ago (24 children)

As long as you never touch the rebase button, you'll be fine. Probably.

[–] LedgeDrop@lemmy.zip 6 points 1 month ago (14 children)

... and force push.

If you ever find yourself in a situation where rebase or a force push seems to be the solution, take a step back, clone your repo in a new directory and copy the changes into you're new checkout - 'cause you gon' and screwed somethin' up, son.

[–] Eiri@lemmy.ca 1 points 1 month ago

Hmm, I'm less afraid of force push. It does what it says on the tin. If I pushed a fuck-uo to remote and a reset is the simplest way out, you can bet I'm force-pushing that reset.

load more comments (13 replies)
load more comments (22 replies)