unic / SitecoreErrorManager

Sitecore Error Manager Module - Handles all the HTTP Errors for your Sitecore Solution
http://marketplace.sitecore.net/en/Modules/Sitecore_Error_Manager.aspx
Other
14 stars 14 forks source link

Rename "master" branch to "main" #20

Closed DaniRey closed 4 years ago

DaniRey commented 4 years ago

Let's get rid of all master-slave terminology #BlackLivesMatter

More details on how and why we want this change https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx

Updating local clones

If someone has a local clone, then can update their locals like this:

$ git checkout master $ git branch -m master main $ git fetch $ git branch --unset-upstream $ git branch -u origin/main $ git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main

Changing target branch for open PRs according to https://stackoverflow.com/a/24159161/3768943

studert commented 4 years ago

Thank you @DaniRey for the initiative. I updated branch name and updated default branch in TeamCity build.