739 B
739 B
Pro Git book notes
Tags
List tags
git tag
Adding tags. Before commit use -a, followed by some tag id and a message for this tag:
git tag -a tag_id -m "Tag message"
Show tag by name
git show tag_id
Tag a commit using commit checksum or part of it
git tag -a tag_id2 9fceb02
Pushing tags to remote
git push origin --tags