Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

rename branch name in git

git branch -m <current_name> <new_name> # Change Name For Any Branch
git branch -m <new_name> # Change Name For Current Branch
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rename #branch #git
ADD COMMENT
Topic
Name
7+2 =