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