一.修改分支名
git branch -m oldName newName
git push origin newName
git fetch
二.删除分支
git checkout master
git branch -D dev
git push origin :dev
三.新建分支
git 修改分支 删除分支 新增分支
原文:https://www.cnblogs.com/wjsy/p/12027796.html