git 修改本地和遠程分支名稱

git branch -a #查看全部分支 git branch -r #查看遠程分支 git branch -vv #查看本地分支所關聯的遠程分支git git branch -m old_branch new_branch # Rename branch locally git push origin :old_branch # Delete the old branch git push -
相關文章
相關標籤/搜索