Skip to content

[Feature]: Use "main" as the default branch for new repositories #1231

Description

@luciamcode

Description

When initializing a new empty repository in GitSync, the default branch is created as master.
GitHub currently uses main as the default branch for new repositories, so this causes a mismatch when setting up a new repository for GitHub.

Describe the solution you'd like

Please use main as the default branch when initializing a new repository.
Alternatively, it would be even better if the default branch name could be configured in GitSync's settings.

Describe alternatives you've considered

Currently, I rename the branch from master to main manually before syncing with GitHub.

Metadata

Metadata

Assignees

No one assigned

    Labels

    potential fixA potential fix has been identified and is ready to be implemented

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions