Live data from Hacker News

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

zdnet.com

21–30 of 126 posts

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

#21

This is a tiny change that has no substantial negative effect on anyone’s life. If they’d renamed “pull requests” to “merge requests” no one would care, at all. Let’s please not make a big deal out of it.

Changing it is making something out of it. Are people actually offended by the current usage?

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

#22

This is a tiny change that has no substantial negative effect on anyone’s life. If they’d renamed “pull requests” to “merge requests” no one would care, at all. Let’s please not make a big deal out of it.

You know, i highly doubt any developer black or not ever looked and said “wow this master branch naming really makes me feel oppressed.” If this is you, please correct me. However, i do know lots of developers have bash scripts, terminal aliases, python workers that use the “master” terminology that will need to be changed. This seems like an absurd and unnecessary change to me, causing more net damage than benefit.…

Why do their scripts need to be change? It's not retroactively modifying repos.

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

#25

This is a tiny change that has no substantial negative effect on anyone’s life. If they’d renamed “pull requests” to “merge requests” no one would care, at all. Let’s please not make a big deal out of it.

No. This silliness is being done, allegedly, for my sake as a minority, and I will not countenance it.

If you're a minority and are tired of these word games instead of real change, make yourself heard. Let people know what you think of this pointless "diversity theater".

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

#26
Is there any movement on the Git side?

I'm assuming this doesn't actually apply if you follow the more "classic" method of creating a Github repo: creating a local git repo and just adding Github as a remote.

Edit: I figured that Git itself probably wouldn't change the default branch name (at least not easily), but thought that just making it configurable would be a "neutral" way to make it easier for people to do this if they wanted to.

I guess they, in fact, already did that: https://superuser.com/a/1572156

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

#27
post #14

Performative activism. Master example of avoiding dealing with real issues.

What’s an example of a real issue, if changing terminology to make underrepresented engineers feel less uncomfortable isn’t one?

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

#28
post #10
post #6

I've always thought "master" was a weird name for the default branch

The logic behind the name was that it was like a master record which all other copies (branches) were based on. To be honest I think the original terminology of "trunk" always made more sense given that we have things called "branches" (and the first commit is called the "root commit"). But "main" is probably lees cryptic -- I will admit when I first heard the term "trunk" I thought it was referring to either the UK…

IIRC git got "master" from BitKeeper.

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

#29

This is a tiny change that has no substantial negative effect on anyone’s life. If they’d renamed “pull requests” to “merge requests” no one would care, at all. Let’s please not make a big deal out of it.

You know, i highly doubt any developer black or not ever looked and said “wow this master branch naming really makes me feel oppressed.” If this is you, please correct me. However, i do know lots of developers have bash scripts, terminal aliases, python workers that use the “master” terminology that will need to be changed. This seems like an absurd and unnecessary change to me, causing more net damage than benefit.…

As a black developer... this all just makes me a little sad.

Terms like master/slave or whitelist/blacklist are common parlance and this attempt to remove these phrases for less well understood phrases just seems like an attempt to whitewash history for little to no gain.

I'm a firm believer that language is dynamic and the meaning of words is the meanings we currently associate to them.

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

#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.
Post reply on HN