Skip to content

Commit

Permalink
Delete remote tag only if local was deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 27, 2010
1 parent 183efac commit e2aeb48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/git-delete-tag
@@ -1,5 +1,4 @@
#!/bin/sh

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

0 comments on commit e2aeb48

Please sign in to comment.