Git Tags Commands
List
$git tag
$git show <TAG>
Create
$git tag -a <TAG> -m <COMMENT>
Commit
$git push --tags
Delete
$git tag -d <TAG>
$git push origin :refs/tags/<TAG>
Rename
$git tag new old
$git tag -d old
$git push origin :refs/tags/old
$git push --tags
Fetch and prune
$git fetch --prune
$git fetch --tags origin
Diff
$git diff --name-only release-5.0.0 refs/tags/R5.0.0 --pretty=oneline
tag an old commit
$git tag -a v1.2 9fceb02 -m "Message here"