14/03/2015 - GIT
You just want to rename your current branch name to something else. For that, we use git branch -m
. For more information, click git merge link.
inanzzz@inanzzz:~/project$ git branch
develop
* my-feature-branch
inanzzz@inanzzz:~/project$ git branch -m my-feature-branch my-feature-branch-new
inanzzz@inanzzz:~/project$ git branch
develop
* my-feature-branch-new