Created
November 9, 2015 19:13
-
-
Save robseward/f3ddab5f2330d48551f1 to your computer and use it in GitHub Desktop.
Batch remove git tags from a list (tags.txt)
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
#!/bin/bash | |
while read p; do | |
git push --delete origin $p | |
git tag -d $p | |
done <tags.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment