You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
We've just changed to using main as the principal branch - it's a simple rename. Instructions for updating locally below.
Regards,
David
--------cut here------
Get the latest commits and branches from the remote:
$ git fetch
Make sure on master branch
$ git checkout master
Rename "master" to "main":
$ git branch -m master main
Remove the existing tracking connection with "origin/master":
$ git branch --unset-upstream
Create a new tracking connection with the new "origin/main" branch:
$ git branch -u origin/main
Beta Was this translation helpful? Give feedback.
All reactions