Joined August 2015
·

Tom Spencer

Bristol, UK
·
·

If you have branches containing master then this script won't delete those.

Instead you could use:

git branch | grep -ve " master$" | xargs git branch -D

This will remove branches named (e.g.) test-master, master-test.

Achievements
1 Karma
0 Total ProTip Views
Interests & Skills