Today I Learned

hashrocket A Hashrocket project

Renaming a Git Branch

If you want to rename a local git branch you can use the command

git branch -m ‏‏‎<your-new-branch-name>

Git will create a reflog of the rename too.