Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.