New
- New a tag with current HEAD [1]
git tag -a 'tag_name' |
- New a tag with specific commit
git tag -a 'tag_name' commit_SHA |
Edit Exists Tag#
git tag <tag_name> <tag_name>^{} -f -a |
Push
git push origin 'tag_name' |
- Push all local tag to remote
git push origin --tags |
Overwrite Exists Tag#
git push origin --tags -f |
Show
- List
git tag |
- Check tag note and commits
git show 'tag_name' |
Reference