Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

replace master branch entirely with another branch

git branch -m master old-master
git branch -m seotweaks master
git push -f origin master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #master #branch #branch
ADD COMMENT
Topic
Name
1+6 =