GitHub新创建repo的默认分支将由master变为main,用户可自定义默认分支名
On October 1, 2020, if you haven’t changed the default branch for new repositories for your user, organization, or enterprise, it will automatically change from master
to main
.
修改方法
个人用户:https://github.com/settings/repositories
组织:https://github.com/organizations/YOUR-ORGANIZATION/settings/repository-defaults
企业:https://github.com/enterprises/YOUR-ENTERPRISE/settings/member_privileges
继续master,哈哈哈
来源:https://github.blog/changelog/2020-08-26-set-the-default-branch-for-newly-created-repositories/