Skip to content

Commit

Permalink
feat: add bash script to remove ALL local and remote tags from the cu…
Browse files Browse the repository at this point in the history
…rrent git dir
  • Loading branch information
vladdoster committed Feb 6, 2022
1 parent 77e81b6 commit ebecc00
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/.local/bin/rm-git-tags.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
#
# Remove remote and local git tags
git tag -d $(git tag -l) # Fetch remote tags.
git fetch # Delete remote tags.
git push origin --delete $(git tag -l) # Pushing once should be faster than multiple times
git tag -d $(git tag -l) # Delete local tags.

0 comments on commit ebecc00

Please sign in to comment.