Skip to content

Respect init.defaultBranch gitconfig option #8663

Description

@Pytal

With the recent developments at https://github.com/github/renaming/#readme on defaulting to the main branch instead of master, I think cargo new and cargo init should respect the opt-in init.defaultBranch option in .gitconfig.

Activity

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

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions