git-delete-branch(1)

git-delete-branch1

Delete branches

Usage

git-delete-branch <branchname>

Overview

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

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Written by Tj Holowaychuk <[email protected]>

Reporting bugs

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

From git-extras 7.3.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.