Git Commit Message Generator
Examples
Commit Message Preview
feat:
Git Command
git commit -m "feat: "
Run this command in your terminal after staging your changes with git add
Conventional Commits Format
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
- Type describes the kind of change (feat, fix, docs, etc.)
- Scope is optional and describes the affected component
- Description should be lowercase and imperative ("add" not "added")
- Breaking changes are indicated with "!" after scope or "BREAKING CHANGE:" in footer
- First line should be 72 characters or less (50 recommended)
Tips
- Use imperative mood: "add" not "added" or "adds"
- Don't capitalize first letter of description
- No period at the end of description
- Separate subject from body with a blank line
- Use the body to explain what and why, not how
- Reference issues and PRs in the footer
What This Tool Does
Git Commit Message Generator is built for deterministic developer and agent workflows.
Generate conventional commit messages with proper type, scope, breaking-change markers, and issue reference formatting.
Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.
Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
Agent Invocation
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/git-commit-message-generator/
For automation planning, fetch the canonical contract at /api/tool/git-commit-message-generator.json.
How to Use Git Commit Message Generator
- 1
Describe your change
Tell the tool what you changed in plain English. Example: 'fixed bug where login fails with special characters' or 'added dark mode toggle'.
- 2
Select commit type
Choose the conventional commit type: feat (feature), fix (bug fix), refactor, docs, test, chore, perf. The tool suggests based on your description.
- 3
Add scope if needed
Specify the module or component affected (auth, ui, api). Example: 'fix(auth): handle special characters in password'.
- 4
Generate variations
The tool creates multiple commit message options in conventional format. Pick one that best matches your change.
- 5
Copy and commit
One-click copy to clipboard. Use in git commit -m or editor. Generator ensures messages are concise, clear, and standardized for CI/CD parsing.