logoalt Hacker News

bobjordanyesterday at 4:51 PM9 repliesview on HN

I use `master` in all my repos because I've been using it since forever and it never has once occurred to me "oh shit I better change it to `main` this time in case `master` may offend somebody some day. Unfortunately, that's the last thing on my mind when I'm in programming mode. Now that everything is `master`, maybe it is just a simple git command to change it to `main`. But, my fear is it'll subtly break something and I just don't have enough hours left in my life to accept yet unknown risk that it'll cost me even more hours, just to make some random sensitive developer not get offended one day.


Replies

joshuamcginnisyesterday at 4:58 PM

Also, git's "master" branch is named after a master recording or master copy, the canonical original from which duplicates are made. There is literally no reason for it be offensive except for those who retroactively associate the word with slavery.

show 3 replies
kridsdale1yesterday at 4:53 PM

At Meta, when this mass push for the rename happened across the industry, a few people spent nearly the full year just shepherding the renaming of master to main, and white box/black box to allowlist/blocklist.

This let them claim huge diff counts and major contributions to DEI and get promos.

show 3 replies
yokoprimeyesterday at 6:26 PM

Im just tuning out of the whole master vs main discussion. I use whatever is the default branch name of my current project OR what git init gives me. When / if git init produces a default branch named main, i'll use that.

doetoeyesterday at 6:45 PM

In current times, there will be more people offended that some prefer to use "main" rather than "master", than people that will be offended if "master" is used

tom_yesterday at 6:00 PM

Thank you for creating the containment thread.

botusaurusyesterday at 6:30 PM

not on your mind, yet you found the time to write this comment

are you sure this is about time/breaking and not "being told how to think"?

drcongoyesterday at 6:50 PM

Haven't got enough hours to type fewer characters, but have got plenty of time to go karma-fishing about it on an almost barely tangentially relevant HN thread. Cool.

hungryhobbityesterday at 5:45 PM

> But, my fear is it'll subtly break something and I just don't have enough hours left in my life to accept yet unknown risk that it'll cost me even more hours,

Yeah, it's not like 99% of the world has already switched from master to main already (without any major problems) ...

show 1 reply
TacticalCoderyesterday at 5:24 PM

[flagged]

show 2 replies