Easily rename your Git default branch from master to main - Scott Hanselman
Nice and straightforward. Locally:
git branch -m master main
git push -u origin main
Then on the server:
git branch -m master main
git branch -u origin/main
On github.com, go into the repo’s settings and update the default branch.
Thanks for this, Scott!
P.S. Don’t read the comments.

Responses
1 Like
Related links
GitSheet
A handy translation of git commands into English.
necolas/idiomatic-css
Some sensible ideas about having a consistent CSS writing style.
1 Share
# Shared by Marty McGuire on Tuesday, June 9th, 2020 at 2:46am