supprimer la branche locale
// 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
supprimer le git local de la branche
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
git supprime la branche locale
# HowTo delete multiple git branches on MAC / Linux / Unix environments
# git branch | grep "<RegXpattern>" | xargs git branch -D
# here's an example to delete multiple branches that starts with "branch"
git branch | grep "branch*" | xargs git branch -D