oliverdavies.uk/source/_zets/30.md

18 lines
612 B
Markdown
Raw Normal View History

2025-08-04 01:09:00 +01:00
---
title: Counting tags
date: 2025-07-12 23:06:44
tags:
- git
links:
- text: My get-tags scrpt
url: https://code.oliverdavies.uk/opdavies/nix-config/src/commit/a620888277654fa413d14413d0d2a4ce82d1ad56/packages/get-tags.nix
- text: My count-tags script
url: https://code.oliverdavies.uk/opdavies/nix-config/src/commit/a620888277654fa413d14413d0d2a4ce82d1ad56/packages/count-tags.nix
---
To see all the tags in a repository, run `git tag`.
To see a filtered list of tags, such as tags that start with a specific year, run `git log | grep 2025`.
To count these, run `git log | grep 2025 | wc -l`.