this post was submitted on 11 Oct 2025
748 points (99.1% liked)

Programmer Humor

27224 readers
309 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
[–] cupcakezealot@piefed.blahaj.zone 26 points 3 weeks ago (9 children)
git reset --hard <commit-hash>  
git push -f origin main  

i didn't see anything, officer

[–] martinb@lemmy.sdf.org 20 points 3 weeks ago (8 children)

You should be forcibly kept away from production systems...

[–] henfredemars 12 points 3 weeks ago (1 children)

We had an intern do this once. We changed our server config to make sure it wouldn’t accept such operations.

[–] gravitas_deficiency@sh.itjust.works -3 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

It’s just a branch guard + properly implementing git user and team permission structures - you’re not “configuring a server”

[–] marcos@lemmy.world 4 points 3 weeks ago

I wonder what you think "configuring" means.

load more comments (6 replies)
load more comments (6 replies)