Created
January 16, 2013 19:26
-
-
Save CocoaBeans/4550019 to your computer and use it in GitHub Desktop.
Delete a tag from the local git repository and push it to origin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash #-x | |
GIT_TAG="${1}" | |
echo "Deleting remote git tag: ${GIT_TAG}" | |
git tag -d "${GIT_TAG}" | |
git push origin ":refs/tags/${GIT_TAG}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment