I stumble across this one every so often. And since I have to look it up every time, I may as well document it. Today's post is small and easy.
To delete a Git branch after the completion of a feature or bug fix, you can use the following commands. Cause the CLI rules, right, RIGHT? Anyway, back to the task at hand.
## Delete a remote branch
$ git push origin --delete <branch> # Git version 1.7.0 or newer
$ git push origin :<branch> # Git versions older than 1.7.0