Skip to content

Change the default branch from "master" to something else #929

Closed
@mislav

Description

@mislav

Our team would prefer to change our default branch name away from "master", since "master" is a generally problematic term due to its association with slavery in some contexts. (We are aware that "master" as used in git does not necessarily have that connotation, but we do not want to nitpick about etymology here.)

We are considering one of these names for the default branch name: trunk, development, or main.

TODO:

  • check our scripts/automation for whether master is hardcoded anywhere
  • run the branch migration script (below)
  • move branch protections from master to new branch
  • modify docs to reference the new branch instead of master
  • delete master branch
  • instruct devs to update their local clones:
    git fetch origin --prune
    git checkout trunk
    git remote set-head origin trunk
    git branch -D master
    

Ref. desktop/desktop#6478

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions