Skip to content

Instantly share code, notes, and snippets.

@gisikw
Created October 17, 2010 22:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gisikw/631414 to your computer and use it in GitHub Desktop.
Save gisikw/631414 to your computer and use it in GitHub Desktop.
early_tag.sh
# Whoops, tagged 'rumble10' early?
# No problem, just delete that tag and retag using these steps:
# (just be sure your final tag is tagged before the 48 hours are up)
# Remove the 'rumble10' tag locally, and on GitHub
git tag -d rumble10
git push origin :refs/tags/rumble10
# Create the tag and push it to GitHub
git tag -a rumble10 -m 'Tagging final release'
git push --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment