Skip to content

Instantly share code, notes, and snippets.

@briancline
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save briancline/e1b9cdd0181d385cf07c to your computer and use it in GitHub Desktop.
Save briancline/e1b9cdd0181d385cf07c to your computer and use it in GitHub Desktop.
stuff to add to dotfiles
# 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