Created
May 26, 2022 12:29
-
-
Save haeramkeem/bcfbefba236f418be27c320729e52002 to your computer and use it in GitHub Desktop.
Git tag example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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