Git Commit Generator
Strumento gratuito online Generate Conventional Commits compliant Git commit messages, nessuna installazione
What are Conventional Commits?
Conventional Commits is a specification for writing commit messages that provides a consistent format for automated tools and easier understanding of changes. Each commit message follows the structure: type(scope): description. Common types include feat (new feature), fix (bug fix), docs (documentation), style (formatting), refactor (code refactoring), perf (performance), test (tests), chore (maintenance), build (build system), ci (CI configuration), and revert (revert a commit).
How to Use This Git Commit Generator
Select a commit type from the available options (feat, fix, docs, etc.). Optionally add a scope to indicate which part of the codebase is affected (e.g., auth, components, api). Write a clear, imperative mood subject line describing what the commit does and why. Optionally add a detailed body explaining the change more thoroughly. For breaking changes, check the Breaking Change box. Click Generate to create your commit message, then Copy to use it in your Git workflow.
Best Practices for Commit Messages
Use imperative mood ("add feature" not "added" or "adds"). Keep the subject line under 72 characters. Explain what and why, not how. Reference issues in the footer (e.g., Closes #123). For breaking changes, start the body or footer with "BREAKING CHANGE: ". Be consistent across your project.
▶Why use Conventional Commits?
▶What is a scope in commit messages?
▶When should I mark a commit as breaking change?
▶Can I customize the commit types?
Se questo strumento ti è stato utile, offri un caffè all'autore.
Offri un caffè