A lightweight CLI tool to simplify Git tagging workflows by automatically suggesting the next tag based on existing tags.
- Auto-increment tag numbers (
prefix-1 → prefix-2) - Reuse last tag prefix automatically
- Support for multiple prefixes (e.g.
technxt-*,syrotech-*) - Interactive prefix selection with
fzf(--pick) - One-command tag creation and push
- Works across all your Git repositories
git clone <your-repo-url>
cd git-taggermake installThis will:
- Symlink the tagger command into ~/.local/bin
- Ensure ~/.local/bin is in your PATH
Run inside any Git repository:
taggertagger technxt-port-statustagger --pick$ tagger
Using last tag prefix: technxt-port-status
Last matching tag: technxt-port-status-1
Next tag: technxt-port-status-2
Commands:
git tag "technxt-port-status-2"
git push origin "technxt-port-status-2"
Create and push this tag? (y/n):- Must be run inside a Git repository
- Tags are assumed to follow the format: -
- If no tags exist, you must provide a prefix manually