git-cz is a command-line tool designed to guide developers in writing structured, conventional commits. Rather than manually typing commit messages, this tool prompts you to select commit types, scopes, and write descriptions according to a defined format. It integrates with the popular commitizen ecosystem so that when you run npx git-cz or similar, you are prompted through a workflow instead of free-form message. The project emphasises consistency and readability in commit history, helping teams enforce semantic or conventional commit message formats. It supports custom configuration (for example via a changelog.config.js file) so you can adapt the prompts or types to your project’s conventions. Because it is open source (licensed under Unlicense) it can be freely integrated within CI pipelines or commit hooks to standardise message formats.
Features
- Interactive CLI prompt to compose commit messages
- Supports conventional commit types and scopes
- Configurable (through changelog.config.js) to adapt to custom workflows
- Seamless integration with commitizen / git hooks
- Encourages consistent, readable commit history across a team
- Minimal dependencies and permissive licensing