Skip to content

Instantly share code, notes, and snippets.

@krlmlr
Forked from lancerushing/gist:4062845
Created December 19, 2013 19:46
Show Gist options
  • Save krlmlr/8045048 to your computer and use it in GitHub Desktop.
Save krlmlr/8045048 to your computer and use it in GitHub Desktop.
$ git branch -r --merged origin/master |
grep -v '>' |
grep -v master |
cut -d "/" -f 2- |
xargs git push origin --delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment