DEV Community

Cover image for Remove all tags from git repo
Adam K Dean
Adam K Dean

Posted on

Remove all tags from git repo

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`
    git push origin :$t
    git tag -d $t
Enter fullscreen mode Exit fullscreen mode

Saved it to, ran it, and now my life (and log) is much happier.

Top comments (0)