TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Rename Your Master Branch to Main

18 pointsby justswimalmost 5 years ago

12 comments

andy_pppalmost 5 years ago
I don&#x27;t think there is ANY slave connotation assosciated with git. Sure words do matter and your words are being used to see things that aren&#x27;t there - the meaning of the word master has been added to by its use in git repositories and it was NEVER used in the way that is suggested here; the email thread claiming that it is used this way is dubious at best. Master, in addition to meaning &quot;controller&quot; means:<p>- main; principal. &quot;the apartment&#x27;s master bathroom has a free-standing oval bathtub&quot;<p>Because it&#x27;s a master bedroom everyone understands and feels FINE that this is okay. EVEN in a master&#x2F;slave hard drive setup (this adds a new meaning too) it isn&#x27;t about subjugating disk drives, it&#x27;s about slavishly copying another master (main, principal) disk. I&#x27;m very sorry if you&#x27;re offended by words being used for very specific technology purposes but it isn&#x27;t right that everyone has to conform to your way of seeing the world.<p>EDIT: damn, glad to see that article has been flagged and at this point I&#x27;m so happy that hacker news does not allow politics.
评论 #23622069 未加载
评论 #23622079 未加载
deminaturealmost 5 years ago
At risk of treading into dangerous territory, I&#x27;ve never actually seen any minorities uncomfortable about master being named as such, just non-minorities uncomfortable on their behalf.<p>Master dates back to 12th century latin and has numerous definitions, most of which have no connection to slavery.<p>This seems very much like modern slacktivism - a feel good action which doesn&#x27;t benefit anybody, least of all the group it was intended to benefit.
评论 #23622066 未加载
ehfengalmost 5 years ago
The name &#x27;main&#x27; feels overloaded, just like naming the default branch &#x27;default&#x27; or &#x27;development&#x27;, with the risk of &quot;Who&#x27;s on first?&quot; confusion, especially when branching off branches.<p>&quot;What branch are you on?&quot; &quot;I branched off the main development branch for this fix.&quot; &quot;Like...the `main` main branch or the main branch for the feature?&quot;<p>I like redis&#x27; rename of their default branch to `unstable`. Just like commits are tagged with the release numbers, the latest code that isn&#x27;t yet versioned is by default &#x27;unstable&#x27;. If the industry as a whole is going to make this change, I would prefer we choose a name that can be unambiguously referenced in conversation.
评论 #23626043 未加载
评论 #23622039 未加载
评论 #23622103 未加载
评论 #23622102 未加载
umvialmost 5 years ago
&quot;master&quot; has meanings other than &quot;owner&quot;.<p>I refuse to kowtow to political pressures that don&#x27;t actually help minorities. What&#x27;s next, Master Lock and MasterCard changing company names to Main Lock and MainCard?
评论 #23621942 未加载
评论 #23622062 未加载
评论 #23622061 未加载
cwhizalmost 5 years ago
I refuse to even entertain the idea of this. “Master” has nothing to do with slavery and “slavery” is not unique to any group of people or race. Read a history book.<p>Renaming “master” to “main” helps absolutely zero people. It’s just some pathetic, low effort, virtue signaling.
lykr0nalmost 5 years ago
I wonder how long until people start calling developers&#x2F;projects racist because they don&#x27;t make this change.<p>I&#x27;m curious to know who caused this change, but I have a strong idea at what kind of person it is.
评论 #23621972 未加载
gjsman-1000almost 5 years ago
I suppose then that we should rename Master&#x27;s Degrees to Main Degrees. ;)
评论 #23622059 未加载
评论 #23622014 未加载
digitalsinalmost 5 years ago
&quot;The main argument for changing &quot;master&quot; to &quot;main&quot; is to reduce the occurrences of problematic terminology in a team&#x27;s codebase&quot;<p>It&#x27;s not problematic terminology unless you have problematic thinking, which seems to be more infectious these days than COVID.
评论 #23622055 未加载
hn_throwaway_99almost 5 years ago
I don&#x27;t have a problem making this change if it actually makes people of African descent more comfortable in the workplace and programming communities. I can understand it more easily for terms like &quot;master&#x2F;slave&quot;, and terminology that defaults white to &quot;good&quot; and black to &quot;bad&quot;.<p>My problem with this, though, is that it feels like the ultimate in &quot;slacktivism&quot; mainly put in place to make white people feel better about themselves. I have rarely (or, actually, never, but to be honest I haven&#x27;t scoured Twitter looking for posts) seen black people pushing for these kinds of changes (as opposed to many other areas where changes would actually make a difference in the workplace).
bE9a3S5So8igd3almost 5 years ago
Thanks I was devastated by the word &quot;master&quot; and now I feel very, very &quot;welcome&quot;
diobalmost 5 years ago
I honestly don&#x27;t know why people are resisting these sort of changes so much. I think it&#x27;s due to Parkinson&#x27;s law of triviality.<p>It&#x27;s so easy for people to have an opinion on this, when I would rather change the offending name and move on to more important things.<p>Personally, I like the name trunk, since it makes more sense with the branching metaphor. But ultimately, call it whatever you want, I&#x27;ll adapt.
throwaway__987almost 5 years ago
I work at a $BIGCO and am inclined to do this, not because it will make any difference, but because it is the sort of thing they will do eventually, and if I raise it as an issue, it will look good for me.<p>The company is extremely good at pointless tediousness anyway (our issue types in jira have been changed three times in the last year, and I could not even tell you what a bug is any more), so more busywork will be par for the course.