File: git-delete-tag

package info (click to toggle)
git-extras 1.7.0-1.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 696 kB
  • sloc: sh: 381; makefile: 52
file content (5 lines) | stat: -rwxr-xr-x 139 bytes parent folder | download
1
2
3
4
5
#!/bin/bash

tagname=$1
test -z $tagname && echo "tag required." 1>&2 && exit 1
git tag -d $tagname && git push origin :refs/tags/$tagname