flavorjones / loofah

Ruby library for HTML/XML transformation and sanitization
MIT License
934 stars 138 forks source link

dev: rename default git branch #194

Closed flavorjones closed 3 years ago

flavorjones commented 4 years ago

Github has introduced support for alternative default branch names. However, Github's current guidance is to wait until they've updated their product to better handle renaming active repositories. One example of a current functional gap is that any pull requests that are based off master will be automatically closed if the branch is renamed.

Once Github has shipped their updates, then the maintainers will rename the master branch and any tooling (e.g. CI, webhooks) that needs to be updated.

Please watch this issue if you'd like to receive updates.

General Rationale for Inclusive Language

Here are some resources that may help provide a rationale for updating the language we use for technical concepts:

Specific Rationale for renaming the Git default branch

Here are links to previous external work on this issue in the OSS and business communities:

flavorjones commented 3 years ago

I've made this change! Please update your local environment by running:

git branch -m master main
git fetch origin
git branch -u origin/main main
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main