Let's assume the temporary branch is backup
.
-
Change the default branch to
backup
on GitHub:- Go to "Settings" -> "Branches" -> change the default branch to
backup
.
- Go to "Settings" -> "Branches" -> change the default branch to
-
Delete the remote
main
branch: