刪除遠程分支:git
在本地任意分支上:spa
git branch -a // 查看遠程分支 git push origin --delete 分支名 // 刪除遠程分支
本地切回主分支上:code
git branch -D 分支名
以上執行以後,本地與遠程的分支則都刪除成功。blog