Created
May 8, 2015 15:52
-
-
Save skatkov/ffbbf7463101b4f5a5dd to your computer and use it in GitHub Desktop.
removing all origin branches
This file contains 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 | grep /origin/ | awk -F/ '{print $3}'| xargs -I {} git push origin :{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment