Skip to content

Instantly share code, notes, and snippets.

@Aetherinox
Forked from rafael-neri/script.sh
Last active October 8, 2023 10:36
Show Gist options
  • Save Aetherinox/e349cd6b200215b1f8d408bf9edc491b to your computer and use it in GitHub Desktop.
Save Aetherinox/e349cd6b200215b1f8d408bf9edc491b to your computer and use it in GitHub Desktop.
Git
# Create new from old
git tag new old
# Remove old tag
git tag -d old
# Sync changes from old tag to remote
git push origin :refs/tags/old
# Send new tag to remote
git push --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment