# Tag

#### Annotated Tags <a href="#annotated_tags" id="annotated_tags"></a>

```
$ git tag -a v1.4 -m "my version 1.4"
$ git tag
v0.1
v1.3
v1.4
```

#### Lightweight Tags <a href="#lightweight_tags" id="lightweight_tags"></a>

&#x20;Another way to tag commits is with a lightweight tag. This is basically the commit checksum stored in a file — no other information is kept. To create a lightweight tag, don’t supply any of the `-a`, `-s`, or `-m` options, just provide a tag name:

```
$ git tag v1.4-lw
$ git tag
v0.1
v1.3
v1.4
v1.4-lw
```
