Last active
April 18, 2016 16:48
-
-
Save pierophp/004a28f09e98a5aa71f7272e2632fd27 to your computer and use it in GitHub Desktop.
Apaga os branchs remotos que já esão no master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch -a --merged master | grep -v "master" | sed s/'remotes\/origin\/'// | xargs -I {} git push origin :{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment