delete a git branch
# delete branch locally
git branch -d <branchName>
#example
git branch -d test
# you add ,commit but not merged and can not delete the branch , use this one
#just use capital D
git branch -D <branchName>
#example
git branch -D test