Skip to main content
VePrompts
gpt-4o Coding & Development

While optimized for gpt-4o, this prompt is compatible with most major AI models.

Generate Git Commit Messages

Write clear, conventional commit messages that explain what changed and why.

Share

Prompt Health: 100%

Length
Structure
Variables
Est. 245 tokens
# Generate Git Commit Messages **Best model:** GPT-4o **Category:** Coding & Development **Tags:** git, version control, teamwork, best practices ## Description Write clear, conventional commit messages that explain what changed and why. ## Prompt Write git commit messages for these changes. Use Conventional Commits format (type(scope): description). Types: feat, fix, docs, style, refactor, test, chore. CHANGES: [DESCRIBE CHANGES OR PASTE DIFF] Provide: 1. MAIN COMMIT: Primary commit message (50-char subject + detailed body explaining why). 2. ATOMIC COMMITS: If these changes should be split into multiple commits, show the breakdown. 3. BREAKING CHANGES: Note any breaking changes with 'BREAKING CHANGE:' footer. 4. CO-AUTHORS: If applicable. 5. ISSUE REFERENCES: Link to tickets (fixes #123, refs #456). Rules: Subject line imperative mood ('Add' not 'Added'). Body explains motivation and contrast with previous behavior. No period at end of subject line.

Private Notes

Insert Into Your AI

Edit the prompt above then feed it directly to your favorite AI model

Clicking opens the AI in a new tab. Content is also copied to clipboard for backup.

Explore Related Resources