Created
November 11, 2014 00:57
-
-
Save ssoper/cf2313c3a4b51e32f1ff to your computer and use it in GitHub Desktop.
Quickly retag your current work, useful for working with CocoaPods
This file contains 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
TAG=`git tag | tail -n 1` | |
git tag -d $TAG | |
git push origin :$TAG 2>/dev/null || echo "Tag was local, nothing remote to delete" | |
git tag -a $TAG -m "$TAG" && git push origin $TAG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment