r/programming • • Jun 14 '20

GitHub will no longer use the term 'master' as default branch because of negative association

https://twitter.com/natfriedman/status/1271253144442253312
3.3k Upvotes

2.4k comments sorted by

View all comments

Show parent comments

83

u/myycabbagess Jun 14 '20 edited Jun 14 '20

I actually worked with someone who called it Trunk instead of Master. He was Black.

edit: he pointed out that the word “master” makes him uncomfortable

61

u/vvv561 Jun 14 '20

I'd actually prefer "trunk" over "main". Fits better with "branch".

12

u/notyourmother Jun 15 '20

oh thanks for this. I was thinking of the storage space in the back of a car and was utterly confused.

9

u/theclacks Jun 15 '20

Same. When I explain git to non-programmers/newbies, I even use trunk in my "master is kind of like the central trunk of the code tree" explanations.

2

u/[deleted] Jun 15 '20

It doesn’t because that’s not how git works. Master is just a branch. It would be more confusing to call it trunk. There is nothing special on a technical level about master, unlike in other version control systems. The name is just a default. You could delete and replace your master branch tomorrow with nothing more than the ‘git branch’ command.

1

u/dev10 Jun 15 '20

You are right, but there’s a whole lot of software projects out there which use Git and a trunk-based branching system.

→ More replies (1)

58

u/plg94 Jun 15 '20

What I cannot really understand (albeit as a non-black from Europe), that he is "uncomfortable" using a word in an entirely different context and setting. I mean… are disabled people uncomfortable everytime they have to run a program?

Thinking of that, "execute" is even worse…

-2

u/myycabbagess Jun 15 '20

Yeah I woulda never made the connection either tbh

But it clearly makes people uncomfortable and trunk makes more sense than master, so I have no problem not using the word

9

u/dreamer_ Jun 15 '20

Trunk does not make more sense than master. It definitely does not make sense to non-native English speakers - when I learned SVN (sometime before Git) I wondered why the history of the project is called "trunk" and why the car analogy was chosen.

Also, if you want to call it a trunk - then what about merge commits?

3

u/myycabbagess Jun 15 '20

Trunk as in tree trunk lmao Trunk and branch makes more sense than master and branch

10

u/dreamer_ Jun 15 '20

Again, for non-native English speakers, the primary meaning of the word "trunk" is "trunk of a car". Many non-native speakers might not be even aware that "trunk" has any different meaning.

That's why this name is bad choice (it's also bad analogy because real branches on a tree are not merging back to trunk).

5

u/rmrf_slash_dot Jun 15 '20

I’m a native speaker and trunk never made sense to me either.

→ More replies (3)

94

u/djpeen Jun 14 '20

Probably just a history of using SVN

38

u/elmuerte Jun 14 '20

I'm pretty sure "trunk" was also used in CVS. It was svn where is was made explicit in the repository. Funnily enough various docs refer to "main trunk".

43

u/myycabbagess Jun 14 '20

He explicitly said it was because “master” makes him uncomfortable. I never thought about it that way until he pointed it out

2

u/F54280 Jun 15 '20

Just look at what you did. You just erased his experience. You didn’t even used “maybe”, but “probably”. You know how black people feel better than they do.

And, right now, you have more upvotes than the comment you are replying to (88 vs 80), which unfortunately tells a lot about the community.

1

u/djpeen Jun 15 '20

dont know if you are serious or not

21

u/VeganVagiVore Jun 15 '20

Ok so if it costs me nothing to make one person more comfortable I think I'll go for it

3

u/IdiotCharizard Jun 15 '20

Disagree when it's only one, but in this case, it's likely a lot more than just 1

0

u/[deleted] Jun 15 '20

[deleted]

3

u/snowe2010 Jun 15 '20

Not trying to argue against the political side of it, but it is not definitely not trivial to migrate from master to something else. The number of tools across the entire planet that literally depend on that one word is astounding. And you can't just find and replace on it.

If people really want this change it will take millions of man hours.

0

u/[deleted] Jun 15 '20

[deleted]

→ More replies (3)

9

u/theforemostjack Jun 14 '20

SVN repository language. Trunk is the default branch, and you have Tags and Branches by convention.

7

u/myycabbagess Jun 14 '20

Yeah but he pointed out that master makes him uncomfortable

→ More replies (1)

1

u/Steel_Neuron Jun 15 '20

Trunk

Rick and Morty were truly ahead of their time https://www.youtube.com/watch?v=iviSOBoW5OQ

→ More replies (2)