Renaming a Git Branch
If you want to rename a local git branch you can use the command
git branch -m <your-new-branch-name>
Git will create a reflog of the rename too.
TweetIf you want to rename a local git branch you can use the command
git branch -m <your-new-branch-name>
Git will create a reflog of the rename too.
Tweet