git delete-branch
all
Delete local and remote Git branches. Part of `git-extras`. If deleting the checked out branch, only the remote branch will be deleted.
More info →Examples (1)
Delete one or more local and remote Git branches
git delete-branch branch_name1 branch_name2 ...made by @shridhargupta | data from tldr-pages