git-delete-branch
Delete local and remote Git branches. Part of git-extras. If deleting the checked out branch, only the remote branch will be deleted. More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-delete-branch>.
Install
- All systems
-
curl cmd.cat/git-delete-branch.sh
- Debian
-
apt-get install git-extras - Ubuntu
-
apt-get install git-extras - Kali Linux
-
apt-get install git-extras - Fedora
-
dnf install git-extras - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install git-extras - OS X
-
brew install git-extras - Raspbian
-
apt-get install git-extras
Delete local and remote Git branches. Part of git-extras. If deleting the checked out branch, only the remote branch will be deleted. More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-delete-branch>.
-
Delete a local and remote Git branch:
git delete-branch branch_name -
Delete multiple local and remote Git branches:
git delete-branch branch_name1 branch_name2 ...
© tl;dr; authors and contributors