git修改本地和远程分支名称

1、git修改本地和远程分支名称
git branch -m old_branch new_branch # Rename branch locally git push origin :old_branch # Delete the old branch git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote


2、git常用命令



3、git分支命名规范

posted @ 2019-05-14 10:38  爱学习的吴小瑞  阅读(428)  评论(0编辑  收藏  举报