don't remove master, develop or current branch

This commit is contained in:
2015-01-27 11:10:47 -07:00
parent cc300d2591
commit e40fed5356

View File

@@ -66,7 +66,7 @@ del_pr() {
} }
clean_branches() { clean_branches() {
BRANCHES=`git branch | grep -v \*` BRANCHES=`git branch | grep -v 'master\|develop\|\*'`
for i in ${BRANCHES}; do for i in ${BRANCHES}; do
git branch -d $i git branch -d $i
done done