Skip to content

Instantly share code, notes, and snippets.

View pkuczynski's full-sized avatar

Piotr Kuczynski pkuczynski

View GitHub Profile
@pkuczynski
pkuczynski / git_remove_tags.sh
Last active April 27, 2018 14:01
Remove all git tags matching pattern passed as parameter
#!/bin/sh
for tag in $(git tag -l $1)
do
git tag -d $tag
git push origin :refs/tags/$tag
git push --tags
done