Open nehamoopen opened 1 year ago
You can first change the default branch name online: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch
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
You can first change the default branch name online: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch
If you have a local clone, you can update it by running the following commands.