Live data from Hacker News

New GitHub repos to have default branches named “main” instead of “master”

zdnet.com

51–60 of 126 posts

Re: New GitHub repos to have default branches named “main” instead of “master”

#51
post #38
post #36

Earlier quoted context omitted.

The fact that degrees are either a Bachelor's or Master's isn't inclusive language to women. Isn't that obvious?

Its true that I've always thought bachelor to be a strange title.

The term "bachelor" in the context of education came from the Latin "baccalaureate", a word which we still use today. Master comes from "magister" which means teacher.

Re: New GitHub repos to have default branches named “main” instead of “master”

#52
I don‘t mind renaming the default branch.

But I’ll see many tools breaking or bugs surfacing because they can’t find the master branch.

One repository I used didn’t have a “master” branch but a “Master” branch. That was annoying.

Git doesn’t have a concept of a main branch. Maybe we will get that now as a result of GitHub’s change.

Re: New GitHub repos to have default branches named “main” instead of “master”

#53
post #52

I don‘t mind renaming the default branch. But I’ll see many tools breaking or bugs surfacing because they can’t find the master branch. One repository I used didn’t have a “master” branch but a “Master” branch. That was annoying. Git doesn’t have a concept of a main branch. Maybe we will get that now as a result of GitHub’s change.

main seems like a better word overall, though not to be confused with main.go.

Re: New GitHub repos to have default branches named “main” instead of “master”

#54
post #32

Earlier quoted context omitted.

I didn't try to make a slippery slope argument. I just want to know if someone considers that title unpleasant, and if so what the alternative could be (not Main of Science obviously).

This could be an awesomely fun sub-thread. Here's my ideas to get things started: How about 'Science Wizard'? ' The Science ' 'Expert of Science' What have the rest of you got? :)

There's really three titles, right? Bachelor, master and doctor. To me, the first was always the weirdest if the bunch, and if we're renaming things, maybe we could confer the hierarchy of the titles?

What's a good synonym for mastery? How can you describe someone who has mastered something? Expert, OK. What else?

Re: New GitHub repos to have default branches named “main” instead of “master”

#55

I'm having trouble understanding why this was flagged. It covers a major change to tool many (most?) developers use including time and reasoning. It's straight to the point, doesn't seem to seem to have much fluff, and isn't really trained with author's option / ideology. Surely much worse and off topic political articles reach the front page without being mass flagged. On a random note, I've had vouch for flagged ar…

A lot of people are tired of seeing "culture wars" threads, including most likely the mods, since they seem to devolve into a mess of bickering posts.

Personally, I have mixed feelings about it. I'm tired of these threads too but to express no opinion is to allow others to drive the direction of changes that affect our industry.

Re: New GitHub repos to have default branches named “main” instead of “master”

#56
post #51
post #38

Earlier quoted context omitted.

Its true that I've always thought bachelor to be a strange title.

The term "bachelor" in the context of education came from the Latin "baccalaureate", a word which we still use today. Master comes from "magister" which means teacher.

The precise definition of baccalaureate is however very variable. In much of Europe it refers to what Americans would call the last years of highschool.

Re: New GitHub repos to have default branches named “main” instead of “master”

#57
We already have a problem with frequent and, in many cases avoidable, API/interface changes in our industry. Think about the last time you use some library, then it's API changes, and you spend a day fixing this in your codebase.

The fact that this change affects only new repos is not reassuring. There are tons of tutorials, scripts and other stuff out there relying on the default naming ("upstream" is the other branch name that is frequently used). Git is already complex enough, especially for beginners.

Also, other git hosting services (and git itself) still use "master" as the default branch name, which will create even more confusion.

Re: New GitHub repos to have default branches named “main” instead of “master”

#58
post #30
post #24

You can continue to pretend otherwise, but this is an ideological infiltration into a supposedly rational field. Downvotes or not I'm not going to pretend otherwise.

It is my experience that people that call themselves rational are some of the least rational people.

Rationalists fail to realize two unfalsifiable facts:

A) Own shortcomings and lack of healthy self-doubt.

B) That life is 100% subjective. There is no objective authority to be found.

Re: New GitHub repos to have default branches named “main” instead of “master”

#59
post #54

Earlier quoted context omitted.

This could be an awesomely fun sub-thread. Here's my ideas to get things started: How about 'Science Wizard'? ' The Science ' 'Expert of Science' What have the rest of you got? :)

There's really three titles, right? Bachelor, master and doctor. To me, the first was always the weirdest if the bunch, and if we're renaming things, maybe we could confer the hierarchy of the titles? What's a good synonym for mastery? How can you describe someone who has mastered something? Expert, OK. What else?

In the US we've got 12 levels (years) of primary and secondary education, followed by 'higher' education. Here at least I suppose you could call a bachelor's something like "16th grade", or "Level 16". Different Masters and PhDs require different numbers of years, though, so it's not a great system.

How about something like "Practitioner" instead of Bachelors, "Expert" instead of Masters, and stick with Doctorate for the PhD?

Re: New GitHub repos to have default branches named “main” instead of “master”

#60
I don't think you can erase words from the vocabulary to get rid of bad undertones in society. If someone is offended by a "master" branch name, I suspect they are easily offended, and might be onto on some crusade. Renaming variables and tech paradigms that refer to computer idioms, not people, is lame. The real problem is misconception and bigotry in people's hearts.

We could stop using the sex/porn industry and reduce the human trafficking epidemic in some countries, or completely stop buying from companies that manufacture in horrible conditions.. or change computer idioms and debate until we're blue.

Post reply on HN