Git Tags

List

git tag -l

Delete

git tag -d 0.1.0

Delete From Remote

git push origin :refs/tags/0.1.0

Add

git tag -a 0.1.0 -m"0.1.0"

Push Tags To Remote

git push -u origin --tags

All Together

git tag -d 0.1.0 && git push origin :refs/tags/0.1.0 && git tag -a 0.1.0 -m"0.1.0" && git push -u origin --tags

Leave a Reply

Your email address will not be published. Required fields are marked *