n0f3
3/11/2014 - 12:29 AM

Delete remote branches containing a specific substring in the name

Delete remote branches containing a specific substring in the name

for fstring in $(git for-each-ref --format="%(refname:short)" refs/remotes/origin/f_qa\*); do j=`echo $fstring | cut -d / -f 2`;j=$j;echo $j; done