This commit is contained in:
Oliver Davies 2025-10-02 07:58:12 +01:00
parent 247ff913b3
commit b96f5b114c
60 changed files with 0 additions and 0 deletions

View file

@ -1,17 +0,0 @@
---
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`.