this post was submitted on 11 Oct 2025
557 points (99.1% liked)
Programmer Humor
26827 readers
2369 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
i didn't see anything, officer
You should be forcibly kept away from production systems...
Never use
--force
. Always use--force-with-lease
.I've mistyped that a couple of times to be
--force-with-leash
git push origin master --force-with-leash
Don't do that to your master.
only do that in puppygit (with consent)
We had an intern do this once. We changed our server config to make sure it wouldn’t accept such operations.
It’s just a branch guard + properly implementing git user and team permission structures - you’re not “configuring a server”
I wonder what you think "configuring" means.