Skip to content

Instantly share code, notes, and snippets.

@techthoughts2
Last active January 9, 2022 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save techthoughts2/711e2de1e4cb3fe14be2a6c5dd65dcfd to your computer and use it in GitHub Desktop.
Save techthoughts2/711e2de1e4cb3fe14be2a6c5dd65dcfd to your computer and use it in GitHub Desktop.
The default branch has been renamed!
master is now named main
If you have a local clone, you can update it by running the following commands.
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment