Git muda o nome de uma ramificação local e remotamente
Exemplos de código
59
0
git mudar o nome do ramo
git branch -m <oldname> <newname> # Any Branch
git branch -m <newname> # Current Branch
# For windows if you get "Branch already exists" error
git branch -M <newname>