2 ms·
The repo is always going to be leading. If you create a repo locally with a master branch and push it to Github, it will still have a master branch on Github an
by ndepoel 6y ago
The repo is always going to be leading. If you create a repo locally with a master branch and push it to Github, it will still have a master branch on Github and all the commits will be visible normally. Github is not going to automatically add an empty main branch without your permission.
The only difference is that Github might not assume the name 'master' for the default branch anymore, so you may have to change the default branch in the project's settings on Github. Possibly Github will detect that there's only one branch and set it as the default, or recognize 'master' as the initial default branch. We'll have to wait and see what the exact behavior will be. Either way it won't stop you from using a Git repo with traditional naming conventions on Github in any shape or form.