git-delete-branch (1) - Linux Manuals

git-delete-branch: Delete branches

NAME

git-delete-branch - Delete branches

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 [at] vision-media.ca>

REPORTING BUGS

<https://github.com/tj/git-extras/issues>