Git Commit Message Generator

Generate properly formatted commit messages following the Conventional Commits specification.

Component or module affected. Paste file paths to auto-detect scope.
Use imperative mood (e.g., "add" not "added" or "adds")
Provide additional context, explain what and why vs. how
BREAKING CHANGE: description or Closes #123, Fixes #456. Auto-detects issue numbers.

Conventional Commits Format

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Types

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Code style changes (formatting, missing semicolons, etc.)
  • refactor: Code refactoring without changing functionality
  • perf: Performance improvements
  • test: Adding or updating tests
  • build: Changes to build system or dependencies
  • ci: Changes to CI/CD configuration
  • chore: Other changes that don't modify src or test files
  • revert: Revert a previous commit

Generate Proper Git Commit Messages with Conventional Commits

Create well-structured, standardized commit messages that follow the Conventional Commits specification. This tool helps developers maintain consistent commit history, improve code review efficiency, and enable automated versioning and changelog generation.

Why Use Conventional Commits?

Commit Message Structure

A conventional commit message follows this format:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Common Commit Types

Best Practices

Example Commit Messages

feat(auth): add OAuth2 login support

Implement Google and GitHub OAuth2 authentication.
Allows users to sign in with external accounts.

Closes #123

---

fix(api): resolve null pointer exception in user endpoint

Handle null user data gracefully and return proper error response.

Fixes #456

---

docs(readme): update installation instructions

Add Node.js version requirement and Docker setup steps.

---

refactor(utils): extract validation logic into separate module

Improve code organization and reusability.

Integration with Tools

Conventional commits work seamlessly with popular tools:

Bcrypt hash copied to clipboard!