Rename a local git branch
Ever wanted to rename a local git branch? The git branch -m
command is your friend
Want to rename a branch that's not currently checked out?
Or to rename your current local branch, you can exclude the original name in the git branch args:
Tweet