All the other repos in our ecosystem have made the switch now so its really just catchup and consistency now.
Instructions for switching to main:
- Run
git fetch to ensure origin/main is fetched.
- Run
git remote set-head origin -a
- If you don't have any local branches you can just run:
git branch -m master main
git branch -u origin/main main
- If you do have local branches you will need to re-parent each of them onto main using:
git branch -u origin/main mybranch
All the other repos in our ecosystem have made the switch now so its really just catchup and consistency now.
Instructions for switching to
main:git fetchto ensureorigin/mainis fetched.git remote set-head origin -agit branch -m master maingit branch -u origin/main maingit branch -u origin/main mybranch