toololis
Indietro Indietro to Sviluppatore
📝

Generatore Messaggi Commit Git — Strumento online gratis

Genera messaggi commit convenzionali dalle tue modifiche

Genera messaggi commit convenzionali da diff o descrizione. Supporta Angular, Conventional Commits o formato custom. Gratis.

Format
Use imperative mood: "add" not "added" 0/72
Preview
 
Commit Message Best Practices
Subject line: max 72 characters, imperative mood, no period at end
Body: wrap at 72 characters, explain "why" not "what"
Blank line: always separate subject from body with a blank line
Reference issues: use "Closes #123" or "Fixes #456" in the body or footer
Examples:
feat(auth): add Google OAuth 2.0 login
fix(api): handle null response from payment gateway
docs: update API reference for v3 endpoints
refactor!: rename user model fields

BREAKING CHANGE: firstName/lastName replaced by givenName/familyName
📚
Scopri di più

Git Commit Message Generator -- Conventional Commits Made Easy

The Strumentoolis Git Commit Message Generator builds properly formatted commit messages following the Conventional Commits specification, Angular commit conventions, or a simplified format. Fill in the type, scope, and description, preview the result, and copy it to your clipboard -- no more guessing whether to use "feat" or "fix", or forgetting the breaking change footer format.

Why commit message format matters

A well-formatted commit history is more than just good hygiene. It enables powerful automation: tools like semantic-release can automatically bump versions and generate changelogs by parsing commit types. feat triggers a minor bump, fix triggers a patch, and BREAKING CHANGE triggers a major version. Teams that adopt Conventional Commits spend less time debating commit message style and more time shipping code.

The Conventional Commits specification

The Conventional Commits spec defines a structured format for commit messages:

  • type(scope): description -- the subject line (max 72 chars)
  • A blank line separates the subject from the body
  • The body explains "why" the change was made, not "what" changed (the diff shows that)
  • BREAKING CHANGE: description as a footer signals incompatible changes
  • A ! after the type/scope is a shorthand for breaking changes: feat!: remove legacy API

Commit types explained

  • feat -- introduces a new feature visible to end users
  • fix -- patches a bug in existing functionality
  • docs -- changes to documentation only (README, API docs, comments)
  • style -- code formatting, whitespace, semicolons -- no logic change
  • refactor -- code restructuring without changing external behavior
  • perf -- performance improvements (faster queries, less memory)
  • test -- adding or updating tests, no production code change
  • chore -- tooling, configs, dependency updates, CI tweaks
  • build -- changes to the build system (webpack, vite, esbuild)
  • ci -- CI/CD pipeline configuration (GitHub Actions, Jenkins)

Format comparison

This tool supports three output formats:

  • Conventional Commits -- the industry standard: feat(auth): add SSO support
  • Angular -- the original convention that inspired Conventional Commits, identical structure but includes build and ci types
  • Simple -- just the description with optional scope in brackets: [auth] Add SSO support

Integrations and tooling

Conventional Commits unlock a rich ecosystem of tools:

  • semantic-release -- fully automated version management and changelog generation
  • commitlint -- lint commit messages in CI to enforce the convention
  • commitizen -- interactive CLI wizard for writing commits (this tool is the browser equivalent)
  • standard-version -- changelog generation from commit history
  • git-cliff -- highly customizable changelog generator

Writing better commit descriptions

  • Use imperative mood -- "add", not "added" or "adds". Complete the sentence: "This commit will..."
  • Keep it under 72 characters -- fits in terminal, GitHub truncates at ~72
  • No period at the end -- the subject line is a title, not a sentence
  • Lowercase first letter -- Conventional Commits convention (though not strictly required)
  • Reference issues -- "Closes #42", "Fixes #108" for automatic issue closing

How to use the Git Commit Message Generator

  1. 1

    Select the commit type

    Choose from feat, fix, docs, style, refactor, test, or chore using the dropdown. This sets the semantic prefix.

  2. 2

    Add scope and description

    Optionally add a scope (e.g., auth, api, ui) and write a short description of the change in imperative mood.

  3. 3

    Add body and breaking change

    Optionally add a longer body explaining the "why" behind the change. Check the breaking change box if applicable.

  4. 4

    Choose format and preview

    Select Conventional Commits, Angular, or Simple format. The live preview updates instantly.

  5. 5

    Copy the message

    Click Copy to send the formatted commit message to your clipboard, ready for git commit -m.

Frequently Asked Questions

What is the Conventional Commits format?
Conventional Commits is a specification for commit messages: type(scope): description. It enables automated changelogs, semantic versioning, and makes git history easier to read. Types include feat, fix, docs, style, refactor, test, and chore.
What is the difference between feat and fix?
feat = a new feature or capability added to the codebase. fix = a bug fix that corrects existing behavior. In semantic versioning, feat triggers a minor version bump, fix triggers a patch bump.
What does a breaking change mean?
A breaking change is any change that makes existing functionality incompatible with previous versions. It is denoted by a ! after the type/scope or a BREAKING CHANGE: footer. Triggers a major version bump in semver.
Should I use imperative mood in commit messages?
Yes. Write the description as a command: "add login page" not "added login page" or "adds login page". Think of it as completing the sentence: "If applied, this commit will [your description]."
What is the scope field?
The scope is an optional word in parentheses that describes the section of the codebase affected: feat(auth): add OAuth login. Common scopes include auth, api, ui, db, docs, ci, deps.
What is the Angular commit format?
Angular's commit convention is the predecessor of Conventional Commits. The format is nearly identical: type(scope): subject, but Angular uses specific types like build, ci, perf in addition to the standard ones. This tool supports both formats.

Punti chiave

  • Git Commit Message Generator is a free, browser-based developer tool — generate conventional commit messages from your changes.
  • No signup, no downloads, no file uploads — your data stays on your device.
  • Works on desktop, tablet, and mobile. Install as a PWA for offline access.

How to Use Git Commit Message Generator

  1. Open the tool: Launch Git Commit Message Generator on Strumentoolis — no account or download needed.
  2. Enter your data: Paste text, enter values, or select a file directly in your browser.
  3. Get instant results: Everything is processed locally — results appear immediately.
  4. Copy or download: Save your output or share it. Bookmark for quick access next time.

Git Commit Message Generator — Quick Facts

Prezzo
Gratis — senza limiti, senza filigrana, senza paywall
Privacy
100% nel browser — nessun dato viene inviato a server
Piattaforma
Qualsiasi browser moderno — desktop, tablet o mobile
Categoria
Sviluppatore Strumentos on Strumentoolis
Offline
Works offline after first visit (Progressive Web App)
CaratteristicaDettagli
StrumentoGit Commit Message Generator
CategoriaSviluppatore
Registrazione richiestaNo
Caricamento fileNessuno — elaborato nel browser
Supporto mobileCompletamente adattivo
CostoGratis per sempre

Why Use Git Commit Message Generator?

You should try Git Commit Message Generator for a quick, private way to generate conventional commit messages from your changes. All processing happens in your browser. Your files and data never leave your device. According to web.dev, client-side processing is the gold standard for privacy.

On the other hand, dedicated APIs or desktop tools suit batch processing better. They also handle server-side automation. For everyday tasks, browser tools offer the best speed, privacy, and convenience.

You might also like

🔒
100% Privacy. Questo strumento funziona interamente nel tuo browser. I tuoi dati non vengono mai caricati su alcun server.