Skip to content

Instantly share code, notes, and snippets.

View 1st8's full-sized avatar

Christoph Geschwind 1st8

View GitHub Profile
@1st8
1st8 / gist:9112541
Last active August 29, 2015 13:56 — forked from schacon/gist:942899
$ git branch -r --merged |
grep origin |
grep -v '>' |
grep -v develop |
grep -v release |
xargs -L1 |
awk '{split($0,a,"/"); print a[2]}' |
xargs git push origin --delete