Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Renaming branch in git

git checkout <old_name> // checkout to branch you want to rename
git branch -m <new_name>// command to rename branch
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #Renaming #branch #git
ADD COMMENT
Topic
Name
4+7 =