In spirit of astropy/astropy-project#151, and to maintain process consistency with astropy-related projects and al new github projects, rename the default branch from master to main. The guidance from the astropy issue suggests:
[ ] Communicate this change to your users and stakeholders.
and also recommends adding this text to the readme:
If you locally cloned this repo before <date>
--------------------------------------------------
The primary branch for this repo has been transitioned from ``master`` to ``main``. If you have a local clone of this repository and want to keep your local branch in sync with this repo, you'll need to do the following in your local clone from your terminal::
git fetch --all --prune
# you can stop here if you don't use your local "master"/"main" branch
git branch -m master main
git branch -u origin/main main
If you are using a GUI to manage your repos you'll have to find the equivalent commands as it's different for different programs. Alternatively, you can just delete your local clone and re-clone!
In spirit of astropy/astropy-project#151, and to maintain process consistency with astropy-related projects and al new github projects, rename the default branch from
master
tomain
. The guidance from the astropy issue suggests:master
tomain
and also recommends adding this text to the readme: