4 ms·
I don‘t mind renaming the default branch. But I’ll see many tools breaking or bugs surfacing because they can’t find the master branch. One repository I used
by bhaak 6y ago
I don‘t mind renaming the default branch.
But I’ll see many tools breaking or bugs surfacing because they can’t find the master branch.
One repository I used didn’t have a “master” branch but a “Master” branch. That was annoying.
Git doesn’t have a concept of a main branch. Maybe we will get that now as a result of GitHub’s change.
- loopz 6y agomain seems like a better word overall, though not to be confused with main.go.
- bhaak 6y agoI would have preferred "default" as Mercurial does it. "main" suggests it is the main branch under development whereas "default" doesn't as clearly. But both terms are better than "master" if we disregard the weight a bad default name has gotten after years of continued use.
- underyx 6y agoThe has never been a guarantee that the main branch is called "master". No tool should've been depending on the name of the main branch.
- bhaak 6y agoYou are technically correct. In reality though you can't expect programmers to code for eventualities that occur only in extremely rare cases (until now).