Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to change branch name in github

$ git branch -m OLD-BRANCH-NAME NEW-BRANCH-NAME
$ git fetch origin
$ git branch -u origin/NEW-BRANCH-NAME NEW-BRANCH-NAME
Source by docs.github.com #
 
PREVIOUS NEXT
Tagged: #change #branch #github
ADD COMMENT
Topic
Name
6+7 =