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
We were long overdue on renaming the default branch and it finally happened - the default branch is now called "main". If you maintain a local clone of the repo, please follow these steps to fix branch tracking (source):
# Switch to the "master" branch:
$ git checkout master
# Rename it to "main":
$ git branch -m master main
# Get the latest commits (and branches!) from the remote:
$ git fetch
# 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
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
-
Hey everyone!
We were long overdue on renaming the default branch and it finally happened - the default branch is now called "main". If you maintain a local clone of the repo, please follow these steps to fix branch tracking (source):
Please reach out if you need any help!
Beta Was this translation helpful? Give feedback.
All reactions