git-delete-merged-branches

Delete branches that are listed in `git branch --merged` excluding master.

TLDR

Delete merged branches

$ git delete-merged-branches
copy

SYNOPSIS

git-delete-merged-branches

DESCRIPTION

Deletes all branches merged in to current HEAD. Does not delete master, even if run from a branch that is a descendant of master.

EXAMPLES

$ git delete-merged-branches

REPORTING BUGS

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

SEE ALSO

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

AUTHOR

Written by Jesús Espino <jespinog@gmail.com>

Copied to clipboard