Skip to content

Recognize main as default branch if master is not available #6296

@unknwon

Description

@unknwon

New repository should start using main as the default branch, fall back to master when main is not available when the default branch is not set.

When detecting the default branch, try main if master is not available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions