Closed ehinman closed 1 month ago
Go for it. It could break certain use patterns, but no way around it (...I take that back, but better to rip the band-aid, IMO)
In line with this issue, we are changing the default branch name from master
to main
. This will affect your forks of the dataretrieval-python
repository. Please read below for instructions on updating your forks and local branches.
@pkdash @thodson-usgs @kjdoore @jlarsen-usgs @rckwzrd @lstanish-usgs @ldecicco-USGS @mnfienen @edsaac @davetapley @elbeejay @douglasdennis @cjbas22 @jzemmels @jsta @jbousquin @elmerehbi @sblack-usu
First, update your local git configuration so that new repositories created locally will have the correct default branch: git config --global init.defaultBranch main.
Now, for any forks, do the following:
Go to
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
We should keep up with the times here. However, need to consider how this will affect contributors.