Daniel Doubrovkine bio photo

Daniel Doubrovkine

aka dB., @awscloud, former CTO @artsy, +@vestris, NYC

Email Twitter LinkedIn Github Strava
Creative Commons License
git branch --merged | grep -v master | xargs git branch -d
git branch -r --merged | awk -F'/' '/^ \*origin/{if(!match($0, /(>|master)/)){print $2}}' | xargs git push origin --delete

Here’s the same in a Gist for you to comment and improve.