VibeHunt
Back to browse

semantic-git-commit-cli

Ensure semantic commits messages.

The tool provides a command‑line interface that guides users through creating commit messages that follow a semantic format. It prompts for components such as type, scope, and message, and can include emoji symbols when configured. By supplying options to skip individual prompts, users can generate messages like “Feat: some new features” or “Feat(myScope): some new features” without manually typing the full syntax.

It reads configuration from a `.sgcrc` file in the project root, from a `sgc` entry in `package.json`, or from a global file in the user’s home directory, allowing customization of elements such as body, scope, emoji, delimiter, and type definitions. A `check` command validates existing commits against the defined rules, optionally starting from a specific SHA.

The CLI is distributed via npm and can be installed globally. It integrates with semantic‑release workflows by supporting the same parsing patterns used for release notes, making it suitable for projects that enforce consistent, machine‑readable commit conventions.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps