Git 重命名分支

示例

重命名已签出的分支:

git branch -m new_branch_name

重命名另一个分支:

git branch -m branch_you_want_to_rename new_branch_name