1、先查看分支:git branch -a
2、删除本地分支:git branch -d <name>
3、删除远程分支:git push origin --delete <BranchName>
4、查看分支是否被删除:git branch -a