Use of the master and slave terms in the computer industry is
widespread, but has been recently discouraged, as it was brought to
attention that the terms may be considered offensive.
GitHub has already moved their default repositories from the master
to main in many places. We're planning to do the same for our
repositories, this however requires some changes in the code.
After the proposed changes get merged to the master branch, the
repository should be ready for the migration from master to main.
To migrate from master to main:
Do a local branch rename with git branch -m master main
Push the renamed branch git push -u origin main
In the Github repo settings, rename the default branch: Settings ->
Branches -> Default branch -> (pencil icon) -> (change master to
main) -> (approve)
After migration other contributors should update their local repositories:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Use of the
master
andslave
terms in the computer industry is widespread, but has been recently discouraged, as it was brought to attention that the terms may be considered offensive. GitHub has already moved their default repositories from themaster
tomain
in many places. We're planning to do the same for our repositories, this however requires some changes in the code. After the proposed changes get merged to themaster
branch, the repository should be ready for the migration frommaster
tomain
.To migrate from
master
tomain
:git branch -m master main
git push -u origin main
master
tomain
) -> (approve)After migration other contributors should update their local repositories:
Refs: https://github.com/keep-network/keep-core/pull/2521 https://github.com/keep-network/keep-ecdsa/pull/845 https://github.com/keep-network/tbtc/pull/810 https://github.com/keep-network/tbtc-dapp/pull/399 https://github.com/keep-network/tbtc.js/pull/126 https://github.com/keep-network/keep-common/pull/79 https://github.com/keep-network/sortition-pools/pull/113 https://github.com/keep-network/ci/pull/8 https://github.com/keep-network/run-workflow/pull/3 https://github.com/keep-network/notify-workflow-completed/pull/3 https://github.com/keep-network/load-env-variables/pull/2