修改git分支名

156 阅读1分钟
git branch -m oldBr newBr // 修改本地分支名
git push origin HEAD // 将修改后分支推到远程
git push origin --delete oldBr // 删除远程的修改前的分支