Last active
August 29, 2015 14:07
-
-
Save briancline/e1b9cdd0181d385cf07c to your computer and use it in GitHub Desktop.
stuff to add to dotfiles
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
# git-retag | |
# courtesy gist:gumob/7064287 | |
grt() { | |
if [ -n "$1" ]; then | |
git tag -d $1 | |
git push origin :refs/tags/$1 | |
git tag $1 | |
git push --tags origin | |
else | |
echo "Please specify a name of tag." | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment