1.修改名称
git branch -m oldbranchname newbranchname
2.追踪到新的远程分支
git branch branchname --set-upstream-to remotes/origin/branchname
1.修改名称
git branch -m oldbranchname newbranchname
2.追踪到新的远程分支
git branch branchname --set-upstream-to remotes/origin/branchname