Answers for "git create new default branch"

2

git create new default branch

git branch -m master main # renames "master" to "main"
git push -u origin main # push new branch
Posted by: Guest on May-13-2021

Code answers related to "git create new default branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language