git-pm
A Git CLI plugin for project management.
It lets you create or switch to branches from task strings, enforcing consistent names.
Produces and switches to branch: feature/MINOI-31-zoom-d-images-dans-galerie
.
branch
✨ Features
- Branch sanitization:
- Keeps task IDs in UPPERCASE
- Lowercases the rest, replaces spaces/punctuation with -
- Handles accents and Unicode (e.g. Fixé → fixe, œuf → oeuf)
- Git-aware:
- If branch exists → switches to it
- If not → creates it
- Prefix support:
- Defaults to feature/
- Allowed: feature, bugfix, hotfix, release, wip, chore, epic
- Overridable via .gitpm.toml
- Configurable:
- Project-local config (.gitpm.toml in repo root)
- Global fallback ($HOME/.gitpm.toml)
🛠 Usage
Examples:
# => feature/MINOI-31-zoom-d-images-dans-galerie
# => bugfix/BUG-42-fix-login-bug
# => hotfix/HOT-77-production-issue
# => wip/TMP-99-experiment
🚀 Installation
Make sure you have Rust installed, then
This provides git pm as a Git subcommand.