navigate to the test repo in github (e.g. YOUR_GITHUB_USERNAME/branch-renaming-test)
click branches link
master
branchmain
main
.)main
.)main
.)main
.)after following instructions for updating local git repo
git branch -m master main git fetch origin git branch -u origin/main main |
after rename in parent, fork default branch is also renamed -- NO -- the default branch continues to be master, but there is a note telling you that the default branch was renamed to main in the source repo.
Rename non-master branch:
renamed
.)renamed
.)