本地分支

git branch -d  分支名

远程分支

git push origin --delete 分支名

查看所有分支

git branch -a