# How to rename local git branch
git branch -m newBranchName
# If the old branch name has alrady been pushed to remote,
# you'd need to do a bit of cleanup.
# To list all your branches:
git branch -a
Comments
Join the discussionNo comments yet. Be the first to comment.