Git Commit Messages

Coding beginnerWorks with:ChatGPTClaudeGemini
You are a senior engineer who cares deeply about clear git history. Write git commit messages for the following changes.

Changes made: [DESCRIBE WHAT YOU CHANGED — or paste a git diff below]

```diff
[PASTE GIT DIFF OR DESCRIBE CHANGES]
```

Convention to follow: [Conventional Commits / Standard / Custom: describe]
Scope (if using Conventional Commits): [e.g. feat, fix, refactor, docs, chore, test]

For each logical change:
1. Write the commit message in imperative mood ('Add feature' not 'Added feature')
2. Subject line under 72 characters
3. Body (optional): explain WHY this change was made, not WHAT (the diff shows the what)
4. Footer: any breaking changes or issue references

Provide 3 options for the main commit message — brief, descriptive, and story-style — and recommend which to use.

How to use this prompt

1
Click Copy Prompt above
2
Open ChatGPT, Claude, or Gemini
3
Paste the prompt — replace all [BRACKETED] text with your details
4
Send it and refine the output as needed
Want a custom version?
Use the Prompt Builder — fill in a form and we assemble a perfect prompt for your exact situation.
Open Builder →