this post was submitted on 16 Aug 2025
585 points (97.9% liked)

Programmer Humor

27479 readers
1589 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
 
top 50 comments
sorted by: hot top controversial new old
[–] sheogorath@lemmy.world 116 points 3 months ago (2 children)

What about joe? Because the engineer who bootstrapped the project mistakenly put his name as the mainline branch and we realized it far too late during the lifecycle and the team decided to keep the branch name because it's hilarious.

[–] UnfortunateShort@lemmy.world 12 points 3 months ago (1 children)
[–] Raptorox@sh.itjust.works 38 points 3 months ago
load more comments (1 replies)
[–] rtxn@lemmy.world 93 points 3 months ago* (last edited 3 months ago) (4 children)

Branch on every commit. Never delete. If something needs to be rolled back, merge it back into HEAD. Conflict resolution only through melee combat.

[–] SeductiveTortoise@piefed.social 47 points 3 months ago

Never merge. Only cherry pick.

[–] peoplebeproblems@midwest.social 22 points 3 months ago

You have met every team I have ever worked with apparently

[–] NocturnalMorning@lemmy.world 13 points 3 months ago (1 children)

How have you survived in this world without exploding into a million little fiery merge conflicts?

[–] rtxn@lemmy.world 18 points 3 months ago

I let the interns handle those. If they survive, they get bragging rights.

[–] Rusty@lemmy.ca 3 points 3 months ago

Conflict resolution only through melee combat.

Wrestle with Jeff, Prepare for death.

[–] locuester@lemmy.zip 43 points 3 months ago
[–] GenosseFlosse@feddit.org 33 points 3 months ago

It's master3. Don't question it!

[–] Aatube@kbin.melroy.org 30 points 3 months ago (1 children)
[–] kubica@fedia.io 15 points 3 months ago (1 children)

I like prod because it makes less assumptions on stability. It is what is being used, good luck with the rest.

load more comments (1 replies)
[–] mercano@lemmy.world 25 points 3 months ago (2 children)

“live” didn’t make it onto the list, I see.

[–] moosetwin@lemmy.dbzer0.com 19 points 3 months ago* (last edited 3 months ago) (1 children)
[–] sik0fewl@lemmy.ca 8 points 3 months ago

Live and let die?

load more comments (1 replies)
[–] tiredofsametab@fedia.io 21 points 3 months ago

Boring answer: older repos are master, newer ones are main. I've worked at companies that did other things such as having the prod branch be a branch called prod.

[–] AnotherPenguin@programming.dev 21 points 3 months ago (1 children)
[–] Tja@programming.dev 29 points 3 months ago

Why would you name a branch just 7 asterisks?

[–] slazer2au@lemmy.world 18 points 3 months ago

Chaotic Evil should be the current sha hash.

[–] GreenKnight23@lemmy.world 18 points 3 months ago* (last edited 3 months ago)

🤡 for master

👽 for test

💩 for dev

[–] palordrolap@fedia.io 15 points 3 months ago

belay your panic. even mommy cannot save you.

"testing"

don't wake up. fourth row just dropped.

[–] neukenindekeuken@sh.itjust.works 14 points 3 months ago (1 children)

Develop should be Chaotic Evil.

[–] roanutil_@programming.dev 3 points 3 months ago (1 children)

This is what is used where I work. I have never and will never understand why.

load more comments (1 replies)
[–] Rhaedas@fedia.io 11 points 3 months ago
[–] pelya@lemmy.world 11 points 3 months ago

It's goshujin-sama

[–] Midnitte@beehaw.org 11 points 3 months ago

Feel like lawful evil fits better for master

[–] SkybreakerEngineer@lemmy.world 10 points 3 months ago

Yall have multiple branches?

[–] independantiste@sh.itjust.works 9 points 3 months ago (1 children)
[–] tamlyn@lemmy.zip 13 points 3 months ago

we use git-flow in our company. So release is already another branch.

[–] FuglyDuck@lemmy.world 9 points 3 months ago

"fuck it, it''s friday"

[–] ZombiFrancis@sh.itjust.works 8 points 3 months ago (2 children)
[–] xthexder@l.sw0.com 5 points 3 months ago

Untitled-project2_final_fixed-3.zip

[–] ronigami@lemmy.world 4 points 3 months ago

(empty string)

[–] rem26_art@fedia.io 7 points 3 months ago (1 children)
load more comments (1 replies)
[–] danc4498@lemmy.world 7 points 3 months ago (2 children)
[–] Skullgrid@lemmy.world 4 points 3 months ago

it's a one way ticket to having "who's on first?" problems

[–] ripcord@lemmy.world 3 points 3 months ago

If you never pu5 anything into production then you never fail

[–] pohart@programming.dev 7 points 3 months ago* (last edited 3 months ago)

qa.

All development happens in feature branches. Someone other than the original developer needs to build and test the feature on our development servers. If successful it gets merged into qa, where it gets built and tested against it qa servers. Production build are tags on qa.

[–] NigelFrobisher@aussie.zone 7 points 3 months ago (1 children)

Moab is “mouth over anus & balls”.

load more comments (1 replies)
[–] marsza@lemmy.cafe 7 points 3 months ago (2 children)
load more comments (2 replies)
[–] cute_noker@feddit.dk 6 points 3 months ago
[–] dosuser123456@programming.dev 6 points 3 months ago

branch (i always commit directly to the main branch so i only have one, so why bother naming it. also YOU CANT STOP ME FROM DOING IT BWAHAHAHAHAHA)

[–] UntouchedWagons@lemmy.ca 6 points 3 months ago

Some of my repos on github use either main or master.

[–] RiQuY@lemmy.zip 5 points 3 months ago
[–] enbipanic@lemmy.blahaj.zone 5 points 3 months ago
[–] rozodru@lemmy.world 4 points 3 months ago
[–] Nomecks@lemmy.ca 3 points 3 months ago

Main is QA. Production is release branches.

[–] Mithre@lemmy.world 3 points 3 months ago

Our development branch is "working", then we have specific dated snapshots where we run our datasets through our programs.

[–] normalexit@lemmy.world 3 points 3 months ago

Hey Linus did you merge my branch into mommy? I really want to get it out.

load more comments
view more: next ›