Answers for "set another branch as default"

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 "set another branch as default"

Browse Popular Code Answers by Language