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.
Developer advocate, full-stack engineer, startup co-founder & CTO, bringing 15 years of experience in Silicon Valley, including at Google and Yahoo!. Public speaker.
Location
๐
Education
UC Santa Cruz Extension
Work
Developer Advocate at Weaviate, the open-source semantic search engine
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.
Itโs not that simple. Many systems that integrate with git (e.g. CI/CD) assume master is the default branch.
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
Why do that work at all? Who does it help?