How to create lightweight tags in Git
Monday, November 24, 2025
Lightweight tags in Git provide a simple way to mark specific commits without storing additional metadata, making them perfect for temporary or internal version references.
As the creator of CoreUI, I use lightweight tags for development milestones and quick commit references.
The most straightforward approach is using the basic git tag command without any flags to create a simple pointer to a commit.
This provides fast, lightweight version marking without the overhead of annotated tags and their associated metadata.