pysal / spopt

Spatial Optimization
https://pysal.org/spopt/
BSD 3-Clause "New" or "Revised" License
304 stars 46 forks source link

rename master branch to main branch #68

Closed jGaboardi closed 3 years ago

jGaboardi commented 3 years ago

1. Renaming the organization remote master branch.

  1. Create a renamed copy of the master branch.
    • $ git branch -m master main
  2. Push the renamed copy to the organization remote.
    • $ git push -u upstream main
  3. Update the default branch in Settings/Branches.
  4. Delete the organization remote master.
    • $ git push upstream --delete master

2. Renaming your remote master branch.

  1. Create a renamed copy of the master branch.
    • $ git branch -m master main
  2. Push the renamed copy to your remote.
    • $ git push -u origin main
  3. Update the default branch in Settings/Branches.
  4. Delete your remote master.
    • $ git push origin --delete master
jGaboardi commented 3 years ago

@xf37 I will take care of this switch. Following the switch in pysal/spopt rename your repo branch from master to main (xf37/spopt - master --> xf37/spopt - main) and push upstream to the main branch not the master branch.

jGaboardi commented 3 years ago

Addressing in #74