Live data from Hacker News

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

zdnet.com

121–126 of 126 posts

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

#121
post #107

Earlier quoted context omitted.

You are technically correct. In reality though you can't expect programmers to code for eventualities that occur only in extremely rare cases (until now).

It's less rare than you think. Lots of repos use "develop", or "trunk" as their default, for instance.

Yes, many repositories use something else than "master" as their main development branch.

But how many of those don't have a "master" branch at all?

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

#122

Earlier quoted context omitted.

You may be superficially correct, I’m not sure, but honestly the name of the canonical git branch is not a hill worth dying on. IMO the right move to battle the more draconian, Orwellian language policing of the cancel culture / “antiracism” dogma is to conserve your energy for the fights worth fighting. This just isn’t one of them.

That kind of thinking is why we have had riots destroying our cities, arsonists starting wildfires and burning churches, and spikes in the homicide rate this decade.

Yes, changing the name of github's default branch to something that makes more sense is the reason there are nationwide protests right now. For sure man

Isn't it fun when you can just say words out loud and make it look like you have a point?

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

#123
post #119

Earlier quoted context omitted.

> " The argument that associating linking the properties to 'good' and 'bad' could make people feel uncomfortable makes sense to me. " Then advocates of this should also be campaigning to stop using yellow as the color to indicate warnings, since it's insensitive to Asian-Americans. But we all know they aren't going to.

Asians aren't yellow though.

And Africans aren't black, and Caucasians aren't white. Surprisingly, Native Americans aren't red!

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

#124

Earlier quoted context omitted.

You may be superficially correct, I’m not sure, but honestly the name of the canonical git branch is not a hill worth dying on. IMO the right move to battle the more draconian, Orwellian language policing of the cancel culture / “antiracism” dogma is to conserve your energy for the fights worth fighting. This just isn’t one of them.

That kind of thinking is why we have had riots destroying our cities, arsonists starting wildfires and burning churches, and spikes in the homicide rate this decade.

It really isn’t, but your kind of thinking is definitely driving the way the current administration is trying to spin those riots.

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

#126

'master' branch is like a master recording, an original from which copies can be made off. I don't have a Master degree in English, but it feels someone is terribly confused.

That is not why it’s called that: https://mail.gnome.org/archives/desktop-devel-list/2019-May/...

Wrong, it was indeed from "master recording": https://twitter.com/xpasky/status/1272280760280637441

That tweet is from the original creator who made "master" the default branch in git.

Post reply on HN