-
-
Save ko2ic/e8e118ebc6e1bc31b61b to your computer and use it in GitHub Desktop.
gitのremoteにあるタグをまとめて削除する ref: http://qiita.com/ko2ic/items/7ab0fd60132be6db83c3
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 ls-remote --tags origin | cut -f 2 | grep -v {} | grep '1.0.0..*' | sed "s/refs\/tags\///g" | xargs git push --delete origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment