Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

change branch name git local

// If you are in a different branch:
git branch -m old-name new-name

// If you are in the same branch:
git branch -m new-name
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #branch #git #local
ADD COMMENT
Topic
Name
7+8 =