444
top 35 comments
sorted by: hot top controversial new old
[-] falseWhite@lemmy.world 11 points 2 days ago
[-] uncouple9831@lemmy.zip 14 points 2 days ago

Thank god the tech bros fixed racism back in 2021

[-] onlinepersona@programming.dev 13 points 2 days ago

It wasn't even tech bros. Some people started using opensource software, discovered the master branch and lost their shit. Nobody meaningful had ever connected the name to anything malevolent, but those people made themselves be offended in the name of people who weren't even offended by it.

Microsoft bought github and didn't want the bad press so they renamed it after the twitter shitstorm. The professional victims then moved on to whatever else made noise on twitter and that was that.

I force all new projects to use master as all my old scripts and repos use master. Twitter shitstorms scan stay where they should be: in the toilet bowl of the internet aka twitter.

[-] aeshna_cyanea@lemmy.dbzer0.com 3 points 1 day ago* (last edited 1 day ago)

Meanwhile GitHub was (and is) doing contract work for ICE

[-] onlinepersona@programming.dev 4 points 1 day ago

And yet people still happily use the platform. À la "smash capitalism" sticker on a Macbook Pro.

[-] aeshna_cyanea@lemmy.dbzer0.com 1 points 13 hours ago

Curious! I am very intelligent

[-] Digit@lemmy.wtf 7 points 1 day ago

And think of all those poor processes being executed and killed.

[-] Brosplosion@lemmy.zip 6 points 1 day ago

And most of them are children!

[-] mogranja@lemmy.eco.br 1 points 11 hours ago

For some of them, specially on servers, the execution drags on for hours and hours. That is just cruelty!

[-] uncouple9831@lemmy.zip 1 points 2 days ago* (last edited 2 days ago)

I don't remember every detail but what I do remember is the wave starting with pre-elon Twitter devs announcing their changes and it started with web services that had master/slave terminology. Some of the new terms did make more sense, but some were clearly stretches. And twitter being based out of SF probably has put forth the effort to hire maybe 5 to 6 black people over it's entire existence, so it felt especially shallow to me at the time. Hence the comment. Obviously there's some assumptions there about twitters hiring practice but..I really don't think I'm wrong, there's definitely a cultural issue out there in the bay.

[-] majster@lemmy.zip 15 points 2 days ago

I still see master branches everywhere, even my new personal repos. This git renaming story is one of the most stupid OSS pushes I remember. That and Gimp fork, that then died out I think.

[-] tux0r@feddit.org 50 points 3 days ago

I renamed my master branch slaveowner. To make it more clear.

It is software, my friends. It’s not a tribe of people.

[-] cenzorrll@piefed.ca 23 points 2 days ago

You could do that, but I could argue that master/slave nomenclature isnt a good scheme for this anyway, since it doesn't control any other branches. Unlike master and slave drives from the olden days.

By all means go ahead and keep your naming schemes. It's your own stuff that after all, that for some reason you felt the need to tell everyone about. However, I might recommend trying to move past it seeing as language has an impact on how people think, and being edgy doesn't exactly have a good track record of producing the best people.

[-] psycotica0@lemmy.ca 30 points 2 days ago

I always assumed the name was more of a reference to audio Master Recordings.

It's the original tapes or whatever that all copies are derived from. It's also where the term "remastering" comes from, as in "we went in and rebuilt a new master from the individual tracks, and this is the new master now", versus just making another copy of the master for a re-release.

[-] uncouple9831@lemmy.zip 5 points 2 days ago

You're right, it isn't a master/slave drive. It...never was intended to mean that, though.

[-] sik0fewl@lemmy.ca 8 points 2 days ago

There are no slave branches like there are no slave recordings.

[-] tux0r@feddit.org 1 points 1 day ago
[-] mogranja@lemmy.eco.br 2 points 11 hours ago

How about a "daddy" branch?

[-] tux0r@feddit.org 4 points 2 days ago

My “master” branch actually does control other branches, as releases are usually made from it, so they all depend on it.

[-] eager_eagle@lemmy.world 45 points 3 days ago

it has always bothered me that checkout is overloaded: it can switch branches or discard pending changes in an unrecoverable way.

so, PSA, you can replicate the safe part of checkout with git switch and the unsafe with git restore.

[-] Scrollone@feddit.it 1 points 1 day ago

I agree, I wonder why they decided to design it that way in the first place.

[-] tux0r@feddit.org 14 points 2 days ago

Ah, I love coherent software.

[-] sik0fewl@lemmy.ca 13 points 2 days ago

Switch and restore came later because checkout was problematic.

[-] nightlily@leminal.space 3 points 2 days ago* (last edited 2 days ago)

Has someone made a „Checkout considered harmful“ blog post yet or do we not do that anymore?

[-] anomnom@sh.itjust.works 1 points 2 days ago

E we used to always stash before checkouts to try and find things in a branch

Just alias stuff like that, make it coherent.

[-] boredsquirrel@slrpnk.net 29 points 3 days ago* (last edited 3 days ago)

git push master --force

[-] Heavybell@lemmy.world 1 points 1 day ago

I never understood why we moved away from "trunk".

[-] Zagorath@aussie.zone 10 points 3 days ago

TranscriptionThe "It's an Older Meme, But It Checks Out" meme, featuring an image of an Imperial officer from Star Wars, with the caption:

It's an older branch, sir

But it checks out

[-] Zagorath@aussie.zone 9 points 3 days ago

I usually create new repos through GitHub or another central repo's system, where it defaults to calling the main branch main. But I did recently create a new repo with my local Git's git init, and had to deal with a master branch on a completely new repo for the first time in a while. It was actually kinda a weird experience.

[-] NuXCOM_90Percent@lemmy.zip 23 points 3 days ago* (last edited 3 days ago)
git checkout -b main
git branch -D master
git config --global init.defaultBranch main

You don't have to deal with shit if you don't want to.

[-] dohpaz42@lemmy.world 8 points 3 days ago

If you haven’t already found it, you need to change your global git config (~/.gitconfig):

git config --global init.defaultBranch main

(or whatever you want to call it; e.g. daddy would work too)

For any existing repositories you want to run the following command in the existing repository root (./.git/config):

git config set init.defaultBranch main

[-] Digit@lemmy.wtf 2 points 1 day ago

daddy branch.

Love it.

[-] pageflight@lemmy.world 2 points 2 days ago

Yeah, current company has their internal git server default to master and it was a little odd first time I created a new repo. Luckily all the CI templates can recognize either name so I just switched it.

[-] ripcord@lemmy.world 2 points 2 days ago

No latest branch

this post was submitted on 09 Dec 2025
444 points (100.0% liked)

Programmer Humor

27811 readers
1759 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