git-delete-branch - Man Page
Delete branches
Examples (TL;DR)
- Delete one or more local and remote Git branches:
git delete-branch branch_name1 branch_name2 ...
Synopsis
git-delete-branch <branchname>
Description
Deletes local and remote branch named <branchname>. Note that local deletion fails if the branch is checked out.
Options
<branchname>
The name of the branch to delete. If multiple branches are provided, then they will all be deleted.
Examples
$ git delete-branch integration $ git delete-branch integration bug/1234
Author
Written by Tj Holowaychuk <tj@vision-media.ca>
Reporting Bugs
See Also
Referenced By
git-extras(1), git-feature(1).
October 2017 Git Extras