How to rename a local git branch

preview_player
Показать описание
A walkthrough on how to change the name of a local git branch and how to create a git alias so you'll never forget how to do this in the future.

Command to rename a local git branch when on the branch: git branch -m new-name
Command on a different branch: git branch -m current-branch-name new-name
Рекомендации по теме