Hacker News new | past | comments | ask | show | jobs | submit
Does this mean we can go back to using "master" as our git repo's default branch?
My controversial opinion is that I think "main" is more descriptive and intuitive than "master."
My controversial opinion is that I still use trunk as the branch name.
"master" makes sense if taken to mean a "master" as in a recording from which other records are made.
my controversial opinion is that it never mattered, all that really mattered was that there was a universal word- changing it to anything would cause at least a few hundred hours of development work and a few hundred additional hours of changing documents and tutorials and stuff.

For what? Main isn’t better if the issue is racism, because “main” has some really negative connotations in Korea (“main” families having servant families).

And, for crying out loud. the tools name is literally a mild british swear word.

loading story #42661475
loading story #42661915
loading story #42661331
I’ve been working with a large European company and it surprises me that they insist on using “master”. They even make other master named branches on the repos as well.
My uncontroversial opinion is that it's the worst when your company uses both, and you have to juggle a dozen different repos that have it this way or that.
{"deleted":true,"id":42661945,"parent":42660361,"time":1736554562,"type":"comment"}
{"deleted":true,"id":42662549,"parent":42660361,"time":1736560003,"type":"comment"}
The damage had already been done for Git. The master -> main change was a totally ridiculous move and caused unnecessary breakages into many tools that use Git and in internal systems.

I'm still waiting for Mastercard to change their name to a less "offensive" name: [0] /s (They never did.)

[0] https://news.ycombinator.com/item?id=32044361

"master" was not a thing even before. While I get the farce of renaming it for "social justice" reasons, it's still a stupid name.

It's "trunk", as in "trunk and branches".

It could not matter less. It's a piece of technical jargon. You learn what it means and move on.

Depending on VCS and branching style, "master, "main", "mainline", or "trunk" might make more sense.

"Master" always made sense to me.

{"deleted":true,"id":42664892,"parent":42660294,"time":1736591747,"type":"comment"}
Yep master never made any sense
Disagree, it has been 'a thing'. Both music and film use the term 'master' for production and release. One would make new releases/mixes from masters. Much like one may branch with a repository.

Now, I'll entertain conspiracy for just a moment. There might be concerning roots here with property or ownership... but if that's the case, the problem isn't with the language being descriptive of the system in which it operates.

We won't 'kill all masters' by getting rid of the word. My real conspiracy theory is this is one of many attempts to sow division. Nation-state nonsense.

loading story #42682387
I hope not; "main" is shorter and more to the point, regardless of any DEI stuff.
I still rename my git remotes from origin to gh because less typing is nice.
Why not `g` then? Or `o`?
In my company some repos use `master` and some use `main` so there's definitely some diversity of terminology
And diversity was the goal all along, after all.

More seriously though, it should be a policy that the change is atomic; complete or not at all.

but you might have to change it back to main when the next president shows up.
I don't know. I was told reliably that he is a fascist and this will be the last election. That democracy is on stake. And democracy obviously lost. So it may be more permanent.
I think you may have reliably heard he is a fascist, which is objectively true, and confused that with unserious people saying this will be the last election.
loading story #42669117
No, I don't think you (most likely white) scrum master would allow you to work on that change.
[flagged]
> Just the other day merely mentioning George Floyd's length criminal history and drug use

But like what's the reason to bring it up unless to imply that he deserved to be killed?

loading story #42660801