.dotfiles/.bin/git-retag

11 lines
173 B
Plaintext
Raw Normal View History

2022-04-20 21:31:37 +00:00
#!/usr/bin/env sh
echo "Deleting tag from origin"
git push --delete origin "$1"
echo "Deleting tag locally"
git tag -d "$1"
echo "Recreating tag"
git tag -s -m "$1" "$1"