Default branch is incorrect when repo is created via API

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • Component/s: Repository - Create
    • None
    • 2
    • Severity 3 - Minor
    • 3,492

      When a new repository is created in the Web UI, the "defaultbranch" defaults to "main" with the option to provide a custom name as desired.

      When a new repository is created via the REST API, the "defaultbranch" defaults to "master" despite the initiative to switch away from master to main.

      The default should be "main" to make the experiences the same.

              Assignee:
              Unassigned
              Reporter:
              Michael Walker (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: