# Installation ## Windows 1. Save `git-del-branches.cmd` somewhere. 2. Add it as an alias: `git config --global alias.del-branches "!C:\\absolute\\path\\to\\git-del-branches.cmd"` 3. Usage: `git del-branches glob*pattern` to delete all branches starting with `glob` and ending with `pattern` ## Linux 1. Save `git-del-branches.sh` somewhere. 2. Make it executable: `chmod a+x git-del-branches.sh` 3. Add it as an alias: `git config --global alias.del-branches "!/absolute/path/to/git-del-branches.sh"` 4. Usage: `git del-branches "glob*pattern"` to delete all branches starting with `glob` and ending with `pattern` (quotes necessary otherwise glob is expanded by shell instead of git)