GitStudyCards
Cards
Blog
About
Book
π§π·
#048 git branch -M name
Renaming a branch
Command
Description
branch
command to manage branches
-M
shortcut to move with force
name
new branch name
note
It is necessary to be on the branch to be renamed