This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On your local clone, make sure that your code is up to date with the remote (called `origin`) | |
git pull origin master | |
# Then rename your local `master` branch to `main` | |
git branch -m master main | |
# Then push your `main` branch back to `origin`, using a command that will make a new branch called `main` on the remote. | |
git push origin HEAD | |
# After this, you can: |