this will delete all remote tags containig the "iap-copy" string (more complex cases can be achieved with egrep)
The method is very slow.... there are much faster ways, but this is very simple and reliable
tested with git 1.9.4
git clone myrepourl
cd myproject
git tag --list | grep iap-copy | sort > allnaughtytags.txt
for mytag in `cat allnaughtytags.txt`; do git push --delete origin $mytag ; done
The method is very slow.... there are much faster ways, but this is very simple and reliable
tested with git 1.9.4