Closed ciozi137 closed 1 year ago
@Monkeymerlot the default branch is now main https://github.com/github/renaming. Run the following commands to update your local repository:
git fetch git branch -m master main git fetch origin git branch -u origin/main main git remote set-head origin -a
I did this but I had already updated the repository in github desktop so I just deleted the master branch after switching to main locally.
master
@Monkeymerlot the default branch is now main https://github.com/github/renaming. Run the following commands to update your local repository: