Files
init-env/home/bin/git-cleanup
T

4 lines
119 B
Bash
Executable File

#!/usr/bin/env bash
git branch | grep -v master | grep -v '\*' | while read BRANCH; do git branch -d $BRANCH -q; done