Answers for "rename branch local git"

12

edit branch name git

$ git checkout Branch-Name-You-Want-to-Change
$ git branch -m New-Branch-Name
Posted by: Guest on February-17-2020
3

git rename branch from local

1. 'Start by switching to the local branch which you want to rename:'
git checkout <old_name>

2. 'Rename the local branch by typing:'
git branch -m <new_name>
Posted by: Guest on October-01-2020
0

Rename git branch while working in the branch

git branch -m <new name>
Posted by: Guest on July-09-2021
0

git rename a local branch

git branch -m <new-branch-name>
Posted by: Guest on April-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language