git branch -a 获取本地和远程的所有分支信息:可以在删除分支前后调用这个命令 git branch -d <本地的需要删除的分支> git push origin --delete <远程所需要删除的分支>