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
Simple pointers to a commit. Best for temporary or private markers.
Full objects stored in the database with tagger info, date, and message. Recommended for releases.
Viewing Tag Details
You can also use wit show to view the tag and its associated commit:
Tagging Options
Tagging Best Practices
Semantic Versioning
Follow semantic versioning (semver) for release tags:
Release Workflow
Tagging Past Commits
Examples
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.