Skip to content

Instantly share code, notes, and snippets.

@haeramkeem
Created May 26, 2022 12:29
Show Gist options
  • Save haeramkeem/bcfbefba236f418be27c320729e52002 to your computer and use it in GitHub Desktop.
Save haeramkeem/bcfbefba236f418be27c320729e52002 to your computer and use it in GitHub Desktop.
Git tag example
#!/bin/bash
# Add tag
git tag -a v1.0.0 -m"My release 1.0.0"
# Delete tag
git tag -d v1.0.0
# Push origin tag
git push origin v1.0.0
# Delete origin tag
git push origin :v1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment