r/programming • • Jun 14 '20

GitHub to replace "master", "whitelist", "blacklist", and others with alternative terms to avoid slavery references

https://www.zdnet.com/article/github-to-replace-master-with-alternative-term-to-avoid-slavery-references/

[removed] — view removed post

1.5k Upvotes

1.2k comments sorted by

View all comments

65

u/C0R0NASMASH Jun 14 '20

This is a massive change and could potentially effect EVERY repository, every DevOps, every pipeline, a lot of scripts, and more. You can't just rename a branch?!

27

u/thelights0123 Jun 14 '20

Only the default for new stuff.

10

u/carrottread Jun 15 '20

Soon you'll see a lot of new "issues" demanding such rename on all popular repos.

7

u/currentlyatwork1234 Jun 15 '20

And hopefully people decline with "Works fine for me. Won't fix."

7

u/illvm Jun 15 '20

Until new management comes in and demands retroactive change :|

4

u/thelights0123 Jun 15 '20

Yeah... that's not happening. They could change the display name on the GitHub GUI, but you can't just change the branch name and have Git clients work with it.

18

u/makeitHD Jun 15 '20

master is the default name in Git, not just GitHub, so this would only cause a lot of confusion. What are they going to do, call everything main on the website when it's master in the repository itself?

-2

u/salbris Jun 15 '20

At work it's "mainline" and it's not that big of deal.

0

u/[deleted] Jun 15 '20

[deleted]

7

u/wastakenanyways Jun 15 '20

Nah this is pointless. All of them could perfectly work in a project where master is the main branch. Choosing other default in a company or project doesn't make you "stupid" and "ignorant of proper terminology". You reached a bit far here for such innocuous fact he was saying.

1

u/doubl3h3lix Jun 15 '20

If you're at a place where you'll be mocked due to default branch naming, you're in a pretty toxic place.

3

u/currentlyatwork1234 Jun 15 '20

Not at my work. It's definitely master and won't change.

4

u/andoriyu Jun 15 '20

Are you free to name your branches as you wish. It just won't name default branch "master" in documentation on how to push your first commit.

1

u/gc_DataNerd Jun 15 '20

Yeah.... I'm shitting bricks too lmao