Git 2 · Branches

Rename the current branch

Rename the branch you are on.

git branch -m new-name

Official Git 2 documentation

More branches commands

All branches commands · Git 2 cheatsheet

Was this page helpful?