How to change a GitHub repo from master to main
This post is for anyone who wants to change their GitHub repos from master to main. GitHub changed the default repo branch name to main. I want to change all my GitHub repo's default branch from master to main.
The short version
If you are comfortable with git and the …
more ...