Remove all tags from git repo
Adam K Dean
Posted on March 6, 2014
I had started to tag builds with a branch name and date, but after a while, these started to make the log unreadable. It was time to Arnold Schwarzenegger-ize them.
I found this somewhere online:
for t in `git tag`
do
git push origin :$t
git tag -d $t
done
Saved it to removetags.sh
, ran it, and now my life (and log) is much happier.
💖 💪 🙅 🚩
Adam K Dean
Posted on March 6, 2014
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.