Counting tags
This commit is contained in:
parent
91fbb428dd
commit
d94eca34dc
1 changed files with 17 additions and 0 deletions
17
source/_zets/30.md
Normal file
17
source/_zets/30.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
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`.
|
Loading…
Add table
Add a link
Reference in a new issue