A tool to delete local and remote git branches in batch.
git clone https://github.com/Stanlous/delete-git-branches-tool.git
cd delete-git-branches-tool
sh install.sh # root permission is required
# delete branches that contain 'test' in the branch name
rm-branch -k test | rm-branch --key test | rm-branch --key=test
# delete branch1、branch2、branch3
rm-branch branch1 branch2 branch3
# force delete branches that contain 'test' in the branch name
rm-branch -f --key test | rm-branch --force --key test
MIT