tj.git-extras/bin/git-delete-tag

6 lines
132 B
Bash
Executable file

#!/bin/sh
tagname=$1
test -z $tagname && echo "tag required." && exit 1
git tag -d $tagname && git push origin :refs/tags/$tagname