Skip to main content
  1. Learn
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Git commands & settings
  6. Tag commands
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

Tag commands

Git tags provide a powerful way to mark and label significant points in your codebase, such as releases, milestones, or important commits. By utilizing tag commands, you can organize and reference these important points with ease.

In this section, we will explore a variety of Git tag commands that enable you to create tags, list existing tags, delete tags, and work with annotated tags.

Git tags serve as valuable landmarks in your codebase, allowing you to quickly identify and reference specific points in your project's history. They are particularly useful for identifying stable releases, documenting important changes, and providing a clear reference for historical milestones.

Explore these Git tag commands and unlock the power to organize and label significant points in your codebase.


Show list of tags

$ git tag

Adding the -n option will show the annotations on each tag.

Create tag

$ git tag <tagname>

See:

Create tag with message

$ git tag -a <tagname>

Delete tag

$ git tag -d <tagname>

See:

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life