Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Update local clone and rename branch

git branch -m main master   
git fetch origin
git branch -u origin/master master
git remote set-head origin -a
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Update #local #clone #rename #branch
ADD COMMENT
Topic
Name
7+5 =