Skip to content

Instantly share code, notes, and snippets.

@jkronz
Created June 18, 2012 21:48
Show Gist options
  • Save jkronz/2950935 to your computer and use it in GitHub Desktop.
Save jkronz/2950935 to your computer and use it in GitHub Desktop.
retag
#!/usr/bin/env zsh
#
# The argument is the tag to move to HEAD
git tag -d $1
git push origin :$1
git tag $1
git push origin $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment