DOI-USGS / lake-temperature-process-models-old

Pipeline #2
Other
0 stars 6 forks source link

NOTICE: upcoming default branch name change #31

Open jesse-ross opened 2 years ago

jesse-ross commented 2 years ago

The master branch of this repository will soon be renamed from master to main, as part of a coordinated change across the USGS-R and USGS-VIZLAB organizations. This is part of a broader effort across the git community to use more inclusive language. For instance, git, GitHub, and GitLab have all changed or are in the process of changing their default branch name.

We will make this change early in the week of February 6, 2022. The purpose of this issue is to give notification of the change and provide information on how to make it go smoothly.

When this change is made, forks and clones of the repository will need to be updated as well. Here are instructions for making the necessary changes.

Changing default branches on forks and local clones

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:

  1. Go to \<your fork> -> Settings -> Branches and edit the default branch from master to main.
  2. Update the settings for your local clone of this fork to match this change.
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
jesse-ross commented 2 years ago

This repository has now been converted, and its default branch is now main instead of master. Please see above for instructions on how to adjust any forks and/or clones you have.

@hcorson-dosch, @lindsayplatt, @jread-usgs, @limnoliver, @jzwart, @aappling-usgs, please note that you have forks of this repository!