mcci-catena / Arduino_Core_STM32

STM32 core support for Arduino
2 stars 7 forks source link

Rename main branch #159

Closed terrillmoore closed 3 years ago

terrillmoore commented 3 years ago

I've renamed the master branch to main. If you have local copies, you'll have to rename your local branch. If you have admin access, be very careful about pushes, as it's easy to recreate the old master branch accidentally. Updating existing repo:

  1. Get on old master branch: git checkout master.
  2. rename your local master to main using git branch -m main master.
  3. change the upstream branch using git branch --set-upstream-to origin/main
  4. Synchronize with upstream: git pull --prune.