2020年11月3日星期二

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,哈哈哈

没有评论:

发表评论

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 a...