BCDA-APS / use_bluesky

Tools to help APS use the Bluesky Framework (https://blueskyproject.io/)
8 stars 3 forks source link

convert repo master branch to main #80

Closed prjemian closed 3 years ago

prjemian commented 3 years ago

consistent with new github repos now

prjemian commented 3 years ago

Since there are no pull requests open at this time, no webhooks, no integrations, it is easy to make this change on the server.

  1. on GitHub: make new branch from master called main
  2. on all remote repositories:
    1. git pull
    2. git checkout main
    3. git branch -d master
  3. on GitHub: change the default branch to main: https://github.com/BCDA-APS/use_bluesky/settings/branches
  4. finally, on GitHub: delete master branch

Any remote repositories that have not updated before step 4 will have to be deleted, then re-cloned.

prjemian commented 3 years ago
prjemian commented 3 years ago

https://hackernoon.com/how-to-rename-your-git-repositories-from-master-to-main-6i1u3wsu