Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Change #default #branch #git
ADD COMMENT
Topic
Name
4+1 =