Renaming git branches
Quite often I end up wanting to rename the branch I'm working in, be it a support, feature or a hotfix branch. Does not matter. To my surprise this is really easy!
git branch -m <old_branch_name> <new_branch_name>
Easy as pie!
Written by Emil Ahlbäck
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#