Skip to content

Change default branch name #37

Open
@nex3

Description

@nex3

We've changed the rest of the core Sass team's repos to use main as their default branch, but changing it for this repository is particularly tricky because Homebrew uses Git as part of its infrastructure and will be broken if we just get rid of master entirely (see Homebrew/brew#7746). I'm not super comfortable with the solution proposed in Homebrew/brew#7746 (comment) of leaving a fake formula in the old branch, but we can follow the general principle by:

  • Making main the new default branch.
  • Adding a GitHub action to update master every time main gets a new commit.
  • (Optionally) adding a note to master indicating that users should move off of it and onto main instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @nex3

      Issue actions

        Change default branch name · Issue #37 · sass/homebrew-sass