How to rename a git branch

image

Renaming a branch in git is easy:
[cc lang=”bash” line_numbers=”off”]
git branch -m old_branch_name new_branch_name
[/cc]

Tagged with: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.