Answers for "changing default branch from main to master in github"

2

set the default branch to main

git config --global init.defaultBranch main
Posted by: Guest on March-30-2021
11

change default branch github

On GitHub, navigate to the main page of the repository.
Under your repository name, click Settings.
In the left menu, click Branches.
Under "Default branch", to the right of the default branch name, click .
Use the drop-down, then click a branch name.
Click Update.
Posted by: Guest on December-30-2020

Code answers related to "changing default branch from main to master in github"

Browse Popular Code Answers by Language