commit

Create well-formatted commits with conventional commit messages and emoji.

  • Purpose - Standardize commit messages across the team

  • Output - Git commit with conventional format

/git:commit [flags]

Arguments

Optional flags like --no-verify to skip pre-commit checks.

How It Works

  1. Change Analysis: Reviews staged changes to understand what was modified

  2. Type Detection: Determines commit type (feat, fix, refactor, etc.)

  3. Message Generation: Creates descriptive commit message following conventions

  4. Emoji Selection: Adds appropriate emoji for the commit type

  5. Commit Creation: Executes git commit with formatted message

Commit Types with Emoji

Emoji
Type
Description

feat

New feature

🐛

fix

Bug fix

📝

docs

Documentation changes

💄

style

Code style changes (formatting)

♻️

refactor

Code refactoring

perf

Performance improvements

test

Adding or updating tests

🔧

chore

Maintenance tasks

🔨

build

Build system changes

👷

ci

CI/CD changes

Usage Examples

Best Practices

  • Keep commits focused - One logical change per commit

  • Reference issues - Include issue numbers when applicable

  • Review before commit - Use code review commands first

Conventional Commit Format

The plugin follows the conventional commits specificationarrow-up-right:

Example Commit Messages

Feature Commit

Bug Fix Commit

Refactoring Commit

Last updated