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

27

u/Disgruntled__Goat Jun 14 '20

I think the change is stupid (master in git context has nothing to do with slavery) but if they are going to rename it then I agree trunk is much better. “Main” is completely the wrong word, it’s not the main branch at all.

29

u/Detective_Fallacy Jun 14 '20

The master branch is functionally identical to all the other branches, calling it a trunk would be semantically wrong in git.

1

u/ineffective_topos Jun 15 '20

FWIW, the etymology of master for Git is indeed from master/slave not from master copy. Not that I've heard of anyone reading it that way without the etymology