Closed madewild closed 2 years ago
I renamed master to main to align with current best practices.
@devironl you may need to follow these steps:
$ git checkout master
$ git branch -m master main
$ git fetch
$ git branch --unset-upstream
$ git branch -u origin/main
When it's done on your side you can close this issue
Done :-) Thanks for the instructions
I renamed master to main to align with current best practices.
@devironl you may need to follow these steps:
Switch to the "master" branch:
$ git checkout master
Rename it to "main":
$ git branch -m master main
Get the latest commits (and branches!) from the remote:
$ git fetch
Remove the existing tracking connection with "origin/master":
$ git branch --unset-upstream
Create a new tracking connection with the new "origin/main" branch:
$ git branch -u origin/main