Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

The default branch has been renamed

oldBranch is now named main

git branch -m oldBranch main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Source by github.com #
 
PREVIOUS NEXT
Tagged: #The #default #branch #renamed
ADD COMMENT
Topic
Name
6+8 =