Live data from Hacker News

Gitlab default branch name changes to main

about.gitlab.com

81–90 of 294 posts

Re: Gitlab default branch name changes to main

#81
Are there actually any devs out there that are really offended and feel excluded or worse than others because the default git branch is called master?

I work in a fairly small company, but if i think of all the things we'd have to change in our infrastructure to exclude all of those offending words (like Black- and White-Lists), we'd probably be busy for a couple of weeks.

Re: Gitlab default branch name changes to main

#82
post #69
post #19

Earlier quoted context omitted.

Yes, conscientious people already call main degree/bedroom/bathrooms etc.

Confusing if they have two masters degrees...

Well some main are more main than others one can always add footnote to clarify in resume.

Re: Gitlab default branch name changes to main

#83
post #63

When I think that people are not that stupid, there's always someone that surprises me. What on earth has the name "master" to do with anything? Why dont we remove the word "master" from all languages in the world and make it a tabu to even speak of it. What does master/slave in relation to "hu-mans" has to do with anything else in the world that has the same name? Just the amount of money and work hours done by ever…

Please don't be hysterical. In case you're getting angry at the downvotes, I can tell you why you're getting them. There are only two lines of content in your comment other than tribal affiliation signal. One of them is a factually obviously false statement ("Just the amount of money and work hours done… to make this… change… could feed all the starving people on the world"); one of them is a question answered in the…

why would I be angry with downvotes? They dont mean anything to me. In the meantime, I just created another repo with branch called... master.

Re: Gitlab default branch name changes to main

#84

I for one think it's great that people are willing to make things a little more accessible for more people. If people want to be part of our community of developers I think it's great that these organizations listen to people who might have a problem with certain terminology. Even though I don't have a problem with those terms, I think it's still worth evaluating if they're worth keeping if it makes it harder for som…

Anyone who believes that "master" is some kind of slur and takes the opportunity to take offense over it is not someone you want causing problems in your organization.

We all know exactly the kind of people driving this change. We've worked with them. We know how they function on teams and in the office. We know they aren't particularly good at what they do, barring a few exceptions. And we know what they will do to us, to our jobs, and to our companies if we don't bow to their demands.

Re: Gitlab default branch name changes to main

#85
post #64

Either (1) Default name doesn't have inherent value; therefore, changing the default isn't a big deal (low downside), even if the upside is low (2) "master" is for some reason a better name than "main" I never see the people complaining about this stuff spelling out a reason why it's a bad idea to change (2), and am forced to conclude that we are in scenario (1). It seems to me that opinion is much more divided on th…

There is a downside which is all aliases and snippets which assume `master` and no longer work (or work across repositories).

Assuming a repo has not changed a default is kinda broken either way, so if this leads to more fixed software... (had quite a few annoying moments with repos that didn't use master as the main branch for whatever reason (e.g. having "develop" and release-specific branches)) and tools that insisted that had to be what I wanted)

Re: Gitlab default branch name changes to main

#86

Earlier quoted context omitted.

by that logic, would the linux command "kill" also be offensive enough to the relatives of murder victims that it warrants a rename?

Give em a few months.

Shouldn't the real name of this software be "signal" anyway ?

Re: Gitlab default branch name changes to main

#87
post #64

Either (1) Default name doesn't have inherent value; therefore, changing the default isn't a big deal (low downside), even if the upside is low (2) "master" is for some reason a better name than "main" I never see the people complaining about this stuff spelling out a reason why it's a bad idea to change (2), and am forced to conclude that we are in scenario (1). It seems to me that opinion is much more divided on th…

There is a downside which is all aliases and snippets which assume `master` and no longer work (or work across repositories).

At the risk of being too dismissive - that sounds like incipient tech debt coming due, rather than a new problem entirely (yes, the line between those things is blurred)

Re: Gitlab default branch name changes to main

#88

Another victim of this hysteria. Will surely make a point to switch it back every time I create a repo.

Adoption of more inclusive terms is hardly "hysteria".

This IETF memo^1 makes a rational, compelling case for adopting alternate terms.

I encourage you to read it, and try taking a broader, more empathetic view. Pause to consider the weight and connotations of certain words for certain groups of people, before claiming victimhood or accusing others of hysteria.

Characterizing the change as "PC Politburo" word-policing strikes me as a shallow, knee-jerk response to a positive change. Fewer characters, less baggage, clearer semantics. What's the harm?

1. https://tools.ietf.org/id/draft-knodel-terminology-04.html

Re: Gitlab default branch name changes to main

#89
post #47
post #6

I think the default branch name change has been good for the ecosystem; “master” didn’t always make sense for whatever workflow was used, and it was hardcoded all over a bunch of tooling. I think “main” makes more sense, regardless of politics, and this encouraged a lot of software to make the default branch configurable.

Agreed. I was interested to read in the article that the master name does indeed originate from master/slave, because that doesn’t map to my mental model of git branching at all. If “main” is a better description and offends fewer people, why not switch? Just seems like opposing a very minor change for the sake of it.

This will necessarily cause some people to hijack the reference branch by creating one branch called "master" and this branch may be used upstream (e.g. Debian builds) to create packages without approval from the main maintainer (who is committing in "main").

Re: Gitlab default branch name changes to main

#90
post #6

I think the default branch name change has been good for the ecosystem; “master” didn’t always make sense for whatever workflow was used, and it was hardcoded all over a bunch of tooling. I think “main” makes more sense, regardless of politics, and this encouraged a lot of software to make the default branch configurable.

I’m worried about wokeness but I switched to “main” because I took the cue from Linus and because I figured the cost was (almost) zero and if it marginally improved the happiness of a potential future employee it was easier to do now.

In hindsight I agree, it feels like a better choice anyway - quicker to type and it makes sense. Win win.

That said my concern is that the “cost was zero” - one of the biggest problems with wokeness is it serves to distract from productive actions rather than sanctimony / tokenism / virtue signalling. Perhaps a symptom of twitter syndrome: virtual likes (easy, simple, shallow) vs real change (hard, messy, compromising).

When I start discussing the latest woke language debate, I remember that this pontification is exactly my objection, and that I’d be better off thinking about how I can help people who are poor or homeless or unable to access good schooling, rather than endlessly debating which words to use. There certainly is an opportunity cost, mostly on the political left as it neglects vital issues such as financial inequality, education, health, and deteriorating infrastructure.

Perhaps the best thing I could start with is to quit twitter to rid myself of the distraction? I don’t know. Anyone managed to work out how to navigate this?

Post reply on HN