Answers for "git how to change default initial branch name"

0

git init change default branch name

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

Change default branch on git

git branch -m deploy prod
git fetch origin
git branch -u origin/prod prod
git remote set-head origin -a
Posted by: Guest on April-26-2021

Code answers related to "git how to change default initial branch name"

Browse Popular Code Answers by Language