Git修改本地分支和远程分支名称:
1.将本地分支改名
git branch –m old_branch new_branch
2.将本地分支的远程删除
git push origin :old_branch
3.将新分支推到远程
git push --set-upstream origin new_branch
1.将本地分支改名
git branch –m old_branch new_branch
2.将本地分支的远程删除
git push origin :old_branch
3.将新分支推到远程
git push --set-upstream origin new_branch