Git: Rename Local Branch

Posted . Visible to the public.
git branch -m <oldname> <newname>

If you want to rename the current branch, you can simply do:

git branch -m <newname>
Luis Romero
Posted by Luis Romero to Custom Exposure (2014-12-23 19:57)