commands.sh

git delete-squashed-branches

all

Delete branches that have been "squashed-merged" into a specified branch and checkout. If no branch is specified, default to the currently checked out branch. Part of `git-extras`.

More info →

Examples (2)

Delete all branches that were "squash-merged" into the current checked out branch

Delete all branches that were "squash-merged" into a specific branch

made by @shridhargupta | data from tldr-pages