Skip to content

Instantly share code, notes, and snippets.

@binarycleric
Created March 16, 2015 19:05
Show Gist options
  • Save binarycleric/1c13fa6c34e442089e45 to your computer and use it in GitHub Desktop.
Save binarycleric/1c13fa6c34e442089e45 to your computer and use it in GitHub Desktop.
Git remote branch cleanup
git branch -r --merged | grep jdaniel | grep -v master | awk -F \/ '{print($2)}' | xargs git push jdaniel --delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment