Git TutorialLesson 9Free preview
Git Tagging
This lesson is part of Git · All levels
Summary
Tags are used to mark milestones in history, generally for releases of versions such as v1.0. Git has two types of tags: lightweight that is just a bookmark, and annotated that stores messages, authors, dates, and signatures. The tag doesn't automatically send to the remote so it needs to be pushed manually.
Key points
- Git tag -a v1.0 -m "message" makes the tag annotated
- The lightweight tag is made without the -a option, only contains the name
- Git origin v1.0 or git tags send the tag to the remote
- Git tag without arguments displays a list of existing tags
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.