Answers for "what is the default branch for"

2

set the default branch to main

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

change git default branch

git config --global init.defaultBranch <defaultBranchName>
Posted by: Guest on April-15-2021

Code answers related to "what is the default branch for"

Browse Popular Code Answers by Language