原文: https://blog.csdn.net/loveshunyi/article/details/97901463
1、修改本地分支名称
git branch -m oldBranchName newBranchName
2、将本地分支的远程分支删除
git push origin :oldBranchName
3、将改名后的本地分支推送到远程,并将本地分支与之关联
git push —set-upstream origin newBranchName
原文: https://blog.csdn.net/loveshunyi/article/details/97901463
1、修改本地分支名称
git branch -m oldBranchName newBranchName
2、将本地分支的远程分支删除
git push origin :oldBranchName
3、将改名后的本地分支推送到远程,并将本地分支与之关联
git push —set-upstream origin newBranchName
让时间为你证明