Live data from Hacker News

GitHub wil change default branch name from 'master' to 'main'

twitter.com

41–50 of 94 posts

Re: GitHub wil change default branch name from 'master' to 'main'

#41
post #5

master isn't a special branch right? Like I know some projects set their default branch as develop. Also the set upstream command, that let's you have a local branch name different from remote, right?

"master" is a special name. For one, it's the branch that git will initially check out after you clone a repository.

Re: GitHub wil change default branch name from 'master' to 'main'

#42
I have no problem with folks doing this but it feels like hollow, performative grandstanding that allows tech folk to feel like they’re helping without doing anything that will make them truly uncomfortable. How many companies will do this but continue to let talent pipeline issues languish, or neglect unconscious biases create an uneven playing field for employees?

Re: GitHub wil change default branch name from 'master' to 'main'

#43
post #17

Is this related to master-slave? Master-slave in programming has nothing to do with humans, the contexts are separate. What's it say about society if people are unable to differentiate, separate the language in two contexts?

It doesn't even have a relationship to master/slave.

Re: GitHub wil change default branch name from 'master' to 'main'

#44
post #41
post #5

master isn't a special branch right? Like I know some projects set their default branch as develop. Also the set upstream command, that let's you have a local branch name different from remote, right?

"master" is a special name. For one, it's the branch that git will initially check out after you clone a repository.

[deleted]

Re: GitHub wil change default branch name from 'master' to 'main'

#45
post #41
post #5

master isn't a special branch right? Like I know some projects set their default branch as develop. Also the set upstream command, that let's you have a local branch name different from remote, right?

"master" is a special name. For one, it's the branch that git will initially check out after you clone a repository.

No, git checks out whatever branch the remote points HEAD to

Re: GitHub wil change default branch name from 'master' to 'main'

#46
post #38
post #14

Earlier quoted context omitted.

Given how even distributed systems used to use master/slave frequently, and some still do, and that people don't say "master branch" and typically just say "master", I think it would be surprising for someone to avoid that association if they are educated in computer sincere using those terms (which again many places do). Also, it's not reading comprehension, it's subconscious level associations that people basically…

The concept of a master branch is completely detached from distributed systems, so much that every clone of a repository has a separate master branch. I am not a native speaker so my brain might work differently but I don't believe the theory on associations. We're even talking of a noun vs an adjective. Do people make the same associations also when you hear about a Masters degree? Or when you hear about Slavic peop…

All three are used as a noun to me, FWIW. When you say "merge to master", master is a noun. My point above is that it's more uncommon in my experience to fully say "master branch".

"Masters degrees" as far as I linguistically understand means "mastery of subject", which is indeed the same language, though perhaps closer to feudal master/subject, which was more ethnic slavery in Europe than the specific iteration in the US. Maybe we do eventually change that one too. Higher education has the same problematic founding as everything else. Let's not forget that Harvard and many other top schools were literally constructed by slaves. As said elsewhere, this is very much about engrained subconscious defaults and norms and you've just highlighted another.

I think generally these are indeed small effects and you have to pick your battles, but I am always saddened when people spend so much effort fighting and arguing against these really costless changes. No one is saying to change overnight and break everything, but it costs nothing to slowly transition away. Those who argue it "changes history" I also find curious as those people seem to be doing a great job ignoring or denying the histories of the words in those same arguments.

Re: GitHub wil change default branch name from 'master' to 'main'

#47
post #27
post #17

Is this related to master-slave? Master-slave in programming has nothing to do with humans, the contexts are separate. What's it say about society if people are unable to differentiate, separate the language in two contexts?

It says that our world has descended into utter madness.

[deleted]

Re: GitHub wil change default branch name from 'master' to 'main'

#48
post #28
post #7

Awesome. Let's do this industry wide and never talk about it again.

better yet, why don't we just strike the word "master" from the English language, that way no mortal will make the mistake ever again?

You seem to be suggesting that would be a mistake. But if we're not willing to prevent thought crime, who will?

With a little work, we can ensure that future generations don't even know what a "double plus meanie" was. In fact, maybe we can even forget that the bad times happened.

Re: GitHub wil change default branch name from 'master' to 'main'

#49
post #46
post #38

Earlier quoted context omitted.

The concept of a master branch is completely detached from distributed systems, so much that every clone of a repository has a separate master branch. I am not a native speaker so my brain might work differently but I don't believe the theory on associations. We're even talking of a noun vs an adjective. Do people make the same associations also when you hear about a Masters degree? Or when you hear about Slavic peop…

All three are used as a noun to me, FWIW. When you say "merge to master", master is a noun. My point above is that it's more uncommon in my experience to fully say "master branch". "Masters degrees" as far as I linguistically understand means "mastery of subject", which is indeed the same language, though perhaps closer to feudal master/subject, which was more ethnic slavery in Europe than the specific iteration in t…

In "Merge to master", "master" is a proper noun, the name that was given to the branch because it is "the master branch" (adjective); just like St. Paul took his name from the adjective "paulus", meaning small.

Otherwise, it would be "merge to the master" which I have never heard.

It's not a costless change; all documentation would be split between that for "master" and that for "main". The cynic in me sees Embrace, Extend, Extinguish all over again.

Re: GitHub wil change default branch name from 'master' to 'main'

#50
post #37
post #24

Earlier quoted context omitted.

To me when people are so angered that they can't separate contexts of language use, it's a signal or canary that things are out of control. And then reasonable people fold to requested or demanded change, like giving into a child rewarding them for something not reasonable, re-enforcing the illogical thought behaviour - doing it because it's easier to make satisfy a few angry, unreasonable people (perhaps a mob) who…

Why do you assume this is driven by anger and that the worries here are "coddling" and a "weaker society"? Why can't this simply be "hey, that term has some serious historical baggage and it doesn't sit right with some people, why not change it? As a white person, the term "slave" in distributed systems always made me feel that way. Not as much for master and whitelist/blacklist personally, but I see no harm in trans…

[deleted]
Post reply on HN