Git Commit Generator
Generate formatted Git commit messages with optional type, scope, breaking change flags, and bulleted summaries.
Run tool
Git Commit Generator formats structured commit messages following conventional patterns for your development workflow. You can provide a custom commit type such as feat or fix, or leave the field blank to pick from built-in options automatically. The scope field lets you define the specific module or component being modified, enclosing your input in parentheses. If you leave the scope or message fields empty, the generator fills them using built-in templates and component names. Enabling the breaking change option appends a dedicated notice to flag backward-incompatible modifications for downstream consumers and reviewers. Every output also appends structured summary bullet lines to help detail your work clearly. After you click the generate button, the text area displays the formatted commit text ready to copy into your command line, Git client, or pull request interface without altering your repository directly.
Instructions
- Optionally enter a commit type such as feat, fix, or docs, or leave it blank to select one automatically.
- Enter an optional scope to identify the affected module or component.
- Type a concise commit message summary or leave it empty to generate starter text.
- Select the breaking change checkbox if the update introduces backward-incompatible modifications.
- Generate the commit message and copy the formatted text into your Git command or client.
Examples
- Custom input: setting Commit Type to 'feat', Scope to 'auth', Message to 'add OAuth2 login support', and leaving Breaking unchecked produces a header 'feat(auth): add OAuth2 login support' followed by structured bullet points.
- Breaking change example: specifying 'fix' for Commit Type, 'api' for Scope, 'update user endpoint schema' for Message, and selecting Breaking appends a BREAKING CHANGE notice along with the bullet list.
FAQ
Does this tool directly commit changes to my Git repository?
No. The generator formats text in the browser interface for you to review and copy into your Git terminal, client, or pull request.
What happens if I leave the input fields empty?
When fields are left blank, the generator uses built-in templates, default scopes, and sample commit types to produce a complete commit message.
How is a breaking change indicated in the generated message?
Enabling the breaking change option adds a blank line followed by a dedicated breaking change notice before the bulleted summary lines.
Can I use standard commit types like chore or refactor?
Yes. You can enter any conventional commit type into the Commit Type field.