Skip to content

Rename default branch to "main" #4866

Closed
@WilliamRoyNelson

Description

@WilliamRoyNelson

Welcome

Your feature request related to a problem? Please describe

The name "main" is increasingly becoming the standard for default branch names, and it's in alignment with this project's Code of Conduct which requires the use of inclusive language.

The reason that this is important, as trivial as it may seem, is that in some corporate environments it can cause documentation or code to be flagged if it contains certain terms like "master" or "abort."

As a bonus, it saves two keystrokes! That's a 50% increase in efficiency if you look at it from a very contrived angle!

Describe the solution you'd like

GitHub has a guide on how to easily make this change:
https://github.com/github/renaming

Describe alternatives you've considered

In documentation instead of using a link like:
https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml

I can instead use
https://github.com/golangci/golangci-lint/blob/HEAD/.golangci.reference.yml

Additional context

No response

Supporter

Metadata

Metadata

Assignees

Labels

enhancementNew feature or improvementtopic: cleanupRelated to code, process, or doc cleanup

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions