Delete local and remote Git branches.
Delete a local and remote Git branch
$ git delete-branch [branch_name]
Delete multiple local and remote Git branches
$ git delete-branch [branch_name1 branch_name2 ...]
Deletes local and remote branch named <branchname>. Note that local deletion fails if the branch is checked out.
The name of the branch to delete. If multiple branches are provided, then they will all be deleted.
$ git delete-branch integration $ git delete-branch integration bug/1234
Written by Tj Holowaychuk <firstname.lastname@example.org>