In the Schema.org Github Repository the previously default branch name of master has been replaced with a new default branch name of main. (See issue #2668 for background to this change)
This work, carried out on 23rd July 2020, should have no impact on developers working from the Github user interface. All non-merged Pull Requests for merges into the master branch have been updated to merged into the newly created main branch.
Impact on developers working in a local master branch copy
To bring your local copy into line with the renamed branch in the repository, follow these steps:
-
Fetch the latest branches from the remote.
git fetch --all
-
Update the upstream remote's HEAD.
git remote set-head origin -a
-
Switch your local branch to track the new remote branch.
git branch --set-upstream-to origin/main
-
Rename your branch locally.
git branch -m master main