git-delete-branch man page

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@vision-media.ca>

Reporting Bugs

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

See Also

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

Referenced By

git-extras(1).

December 2015