DEV Community

Discussion on: Github is replacing the word master to avoid slavery references. Deal with it.

Collapse
 
ludamillion profile image
Luke Inglis

I'm expecting quite a few things to break when you remove something that's expected to be present in 90% of all Git repositories.

While that's a valid concern I think It's not as big of a deal as it might seem. For one thing if you are talking about tools and scripts if you can just search and replace s/master/main/g than your tools/scripts are probably brittle.

Collapse
 
stevetaylor profile image
Steve Taylor

It’s not that simple. Many systems that integrate with git (e.g. CI/CD) assume master is the default branch.

Thread Thread
 
ludamillion profile image
Luke Inglis

I would hope that any those systems aren’t so inflexible as to not allow you to specify the name of the default branch on configuration

Thread Thread
 
dandv profile image
Dan Dascalescu • Edited

Why do that work at all? Who does it help?