- Honest to God not something I care about but: this is pretty much the nail in the coffin for “master”. I do know some people _did_ care about the name. Sometimes surprisingly senior people who never supported a tech upgrade want the name changed. In any event, it’s done, “main” won, it’s fine, let’s move on.
by penguin_booze
1 subcomments
- So, 'master' was the default branch name. Why is the default changed in 3.0? Is it because of the allusion to slavery in the United States? Even if so, what does a Git branch name has to do with that country's history? Did Git used its branch name to enslave people? When a user does 'git checkout master', are more people getting enslaved - some kind of butterfly effect?
Does it need to be said that if the US had or has a problem, it's they alone who need to deal with it? Since when did the rest of world took upon itself to "solve" their problem? Did we all get green card or something?
I don't feel like this will stop here. What's the next word some people in some other country decided to declare offensive?
Shame.
- I prefer to default to `develop` and then eventually branch out to `release`: that way my branch names are pretty explicit. It seemed silly to me to start with a "central" branch, no matter the wording, because that's not actually how Git works (and it's rather uninformative).
For... some in the comment section, please recall the HN guideline: "Comments should get more thoughtful and substantive, not less, as a topic gets more divisive."
by socalgal2
5 subcomments
- When is Linux going to rename “man” which according to my employer is a non-inclusive word and flagged in pull requests
by 000ooo000
8 subcomments
- How did Scrum Master escape this treatment?
- The most intolerant wins again.
I'll be keeping “master”, than you very much.
- Good. "master" implies a master/slave architecture which is straight-up technically wrong - and directly opposite git's true design! You couldn't pick a worse default. Even if it weren't tinged with racist colonial overtones, there is reason to change it for correctness alone.
- Mercurial uses "default" as the default branch since the inception
- Who gives a shit. Seriously. You can set your preferred name in the configs. And I have this since forever because I do not want to have a sudden name change. This will change will not impact anyone. But again we get this "oh this is so horrible". Nobody cares. Nobody forces anyone to change anything
by the_absurdist
1 subcomments
- Cowardly acquiescence to any political ideology is disgraceful, and that's exactly what this was.
- Been using 'sensei' as my default branch name for a couple years now.
I get to feel like a ninja when I commit, the conceptual meaning is close to that of the previous term, and there's no historical baggage related to the US. Win-win-win?
- At the end of the day, all I really care about is consistency. It's annoying to switch between projects which use different branch names to describe the same thing.
That being said, this is a dumb reason to introduce inconsistency.
- Any project repository where I'm the original author, the default branch is the "develop" branch. Let's move on!
by randyrand
1 subcomments
- When we have sentient robots running around doing our bidding, I wonder what we'll call them.
- They should better fix bigger problems like real "decentralization" like using p2p protocols by default.
Their current state of "decentralization" is "the developer might still have a copy of the repo on his laptop".
by almosthere
1 subcomments
- All the woke stuff was so annoying past 5 years. I don't remember the company name but it was one of those feature flag toggle companies. For a year straight they communicated this change they were doing, basically replacing blacklist and whitelist with more PC terms. Someone at the company decided to not only make it a recommended change, but that the old usage would BREAK the app. They couldn't handle the word blacklist in the codebase so much that they were willing to punish their users. It felt like I was getting an email from them every 5 days for a year.
That all being said - main is shorter than master and I would say most of us here, probably 95%, are "used to it" and it would actually be annoying to go back to master.
by theanonymousone
1 subcomments
- While we are at it, can we please not have a human "master" in every Scrum team?
- I don't get it how you can be so emotional for yet another branch name. Especially as this change was announced 5yrs ago.
If this blocks you from "just want to do real work" maybe overthink your setup and adjust your pipelines?
- "trunk" would have at least matched the notion of "branches"
by testdelacc1
2 subcomments
- I’m disappointed that this headline will lead to more clicks. This is your reminder that in git the branch name is just a pointer to a commit. Renaming that pointer is relatively seamless on GitHub (https://github.com/github/renaming?tab=readme-ov-file#rename...). Also, git 3.0 isn’t forcing this change on existing repos, just new ones that no automation depends on. And if you really like the old name that’s always an option for your repos. Remember, it’s just a pointer.
The other git 3.0 changes are more consequential and worthy of discussion - changing from SHA-1 to SHA-256 for greater security and performance, changing the storage format for performance and introducing Rust.
by Am4TIfIsER0ppos
0 subcomment
- Wasn't it already?
by Traubenfuchs
2 subcomments
- Turns out people really, really, REALLY don't like to be forced to change their decades old thinking, vocabulary and definitions of words when they feel its either pointless busy work, propagation of an ideology they do not support or a straight up attempt at mind control.
by _imnothere
0 subcomment
- This is plain stupidity over some SJWs pointless whining, sad to see people being such braindead to support bullshit like this.
- Personally I think only branch that's minimally needed is "dev", with tags for releases. "master" or "main" should just be a pointer to the latest non-hotfix tag.
- >More formally integrating Rust into Git’s own build process
What does this mean, to compile git v3 I will need Rust ?
As for 'main' I always used that, I do not know how that happened since I use git the say way I used RCS ages ago.
by TrappedInCorner
3 subcomments
- Yet again the whining twitter-people get another win.
by Artoooooor
0 subcomment
- So now instead of game remasters we will get game remains?
- Don't know why people here got triggered by DEI, but the "master" naming is just bad, "main" is actually a better and more generic description.
The word "master" means someone/thing that has the capability of controlling things, like "Mastered", "Master Degree" etc.
But in most Git contexts, "master" is just "one of the breach that we hand picked to put our finest results in", that's not mastering anything, it just means "if you know what's best for you (or not), just use this one".
Another similar wording is in IDE hard drives. Remember the fun time where you can to setup jumpers before your secondary IDE hard drive would work? Yeah that secondary drive is called "slave". I'm still confused why the first drive must be called "master" since I never see it whipping any other drives to make them work harder or really doing anything that's remotely controlling.
The computer guys in the old times really have a weird taste in naming things.
- [dead]
by fzeroracer
0 subcomment
- Seeing some of the complaints around this feels like people are somehow still stuck in 2020 instead of 2025. People need to do a fresh pull down from main and update their arguments.
Frankly I don't really care either way, main is shorter and conveys the same meaning so by my metrics it's better. You can override the default to be whatever you want.
- With master gone, it's time to get rid of the man-pages, which were invented to mansplain commands by bearded men in the 70s.
by Voultapher
1 subcomments
- Somewhat disheartening to see all the arguments here saying it doesn't matter how we name stuff. Lived language creates reality.
There are groups of black people that complained about the terminology, repeatedly [1]. So isn't it arrogant as a white dude to say, this thing hurts you, and we could easily change it, but fuck you we won't do it because we have always done it that other way?
Some easy no effort replacements:
- master-slave -> leader-follower
- blacklist -> denylist
- whitelist -> acceptlist
[1] https://en.wikipedia.org/wiki/Master%E2%80%93slave_(technolo...
- I feel very uncomfortable with Chess players holding 'Grandmaster' titles. Would much prefer 'Grandmain'.