Skip to content

Instantly share code, notes, and snippets.

@icleversoft
Last active December 12, 2015 10:49
Show Gist options
  • Save icleversoft/4761763 to your computer and use it in GitHub Desktop.
Save icleversoft/4761763 to your computer and use it in GitHub Desktop.
shell script for both local and remote tag deletion on a git repo
#!/bin/sh
for t in `git tag`
do
git push origin :$t
git tag -d $t
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment