Local#

$ git branch -d feature_branch

Remote#

As of Git v1.7.0, you can delete a remote branch using

git push origin --delete <feature_branch>

You can also specify multiple feature branches.

For versions less than 1.7.0, use

$ git push origin :<feature_branch>

CategoryComputing.SCM.Git