删除本地分支
// delete branch locally
git branch -d localBranchName
//delete local branch that is unmerged
git branch -D localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
git如何删除origin分支
$ git push origin --delete feature/login
在本地和远程删除Git分支
git push <remote_name> --delete <branch_name>
github删除分支远程
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
删除git remote
git remote remove origin