diff --git a/scripts/git_local_prune b/scripts/git_local_prune new file mode 100644 index 00000000000..1960d0cd55a --- /dev/null +++ b/scripts/git_local_prune @@ -0,0 +1,3 @@ +#!/bin/sh +# This script automatically deletes any local branches which have been merged +git branch --merged | grep -v master | xargs git branch -d