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 thecodeteacher.com #
 
PREVIOUS NEXT
Tagged: #rename #branch #git
ADD COMMENT
Topic
Name
6+1 =