Skip to content

Set default branch name to "main" instead of "master". #19351

Closed
@twoco

Description

@twoco

Feature Description

When creating new repos, we should no longer use the word "master" for the branch. Just like GitHub and GitLab now use "main" instead of "master" as the default initial branch name.

https://sfconservancy.org/news/2020/jun/23/gitbranchname/

Screenshots

image
image

Activity

added
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.
type/proposalThe new feature has not been accepted yet but needs to be discussed first.
on Apr 8, 2022
jolheiser

jolheiser commented on Apr 8, 2022

@jolheiser
Member

This is already configurable via DEFAULT_BRANCH.

twoco

twoco commented on Apr 8, 2022

@twoco
Author

But set to "master" per default, isn't it? I mean the initial value shipped from this software should be changed. Just a suggestion. But thanks for the hint.

locked and limited conversation to collaborators on May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @jolheiser@twoco

      Issue actions

        Set default branch name to "main" instead of "master". · Issue #19351 · go-gitea/gitea