Skip to content

Instantly share code, notes, and snippets.

@pierophp
Created April 18, 2016 16:40
Show Gist options
  • Save pierophp/29be0ac995364cb79250358c5c6bb47a to your computer and use it in GitHub Desktop.
Save pierophp/29be0ac995364cb79250358c5c6bb47a to your computer and use it in GitHub Desktop.
Apaga os branchs locais que já esão no master
git branch --merged master | grep -v "\* master" | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment