Skip to main content
  1. Learn center
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Git collaboration
  6. Tagging
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

Tagging

A Git tag labels and marks a specific commit in the history. Tags are commonly used to indicate release versions, with the release name (i.e., v1.0) being the tag's name.

There are two types of Git tags:

  • Lightweight tags
  • Annotated tags

A lightweight tag is similar to a branch that does not change. It just points directly to a specific commit in the history. Lightweight tags are mainly used temporarily in your local workspace.

An annotated tag is checksummed and often used when planning to mark an important commit. You can add a message, signature, date, and the tagger’s name and email.

Git tags in the main branch
Git tags in the main branch.

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life