Skip to main content
Tags mark specific points in your repository’s history, typically used for releases and milestones. wit supports both lightweight and annotated tags.

Quick Reference

Tag Types

Lightweight Tags

Simple pointers to a commit. Best for temporary or private markers.

Annotated Tags

Full objects stored in the database with tagger info, date, and message. Recommended for releases.

Listing Tags

Viewing Tag Details

You can also use wit show to view the tag and its associated commit:

Deleting Tags

Tagging Options

Working with Remote Tags

Tagging Best Practices

Semantic Versioning

Follow semantic versioning (semver) for release tags:

Release Workflow

Tagging Past Commits

Examples

Create Release Tags

Find Tags

Replace a Tag

Moving published tags is discouraged as it can confuse users who have already referenced the old tag.

Comparison: Lightweight vs Annotated

Use annotated tags for anything you’ll share publicly (releases, milestones). Use lightweight tags for private bookmarks or temporary markers.