Answers for "git change local default brancht o main"

2

set the default branch to main

git config --global init.defaultBranch main
Posted by: Guest on March-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 change local default brancht o main"

Browse Popular Code Answers by Language