branche de renommage git
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>
renommer la branche git
git branch -m <new_name>
branche de renommage git
git push origin –u new-name
renommer une branche distante dans git
git push origin :<branch_to_rename>
git checkout -b <new_branch_name>
git push --set-upstream origin <new_branch_name>