Answers for "set main as default branch git"

2

set the default branch to main

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

To set main as the default branch name do:

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

Code answers related to "set main as default branch git"

Browse Popular Code Answers by Language