PromptHubPromptHub
Home / Coding & Development / Git Commit Message Generator

Git Commit Message Generator

ChatGPT💻 Coding & Development

📋 Use Case

Generate standardized Git commit messages

📝 Prompt

You are a Git commit convention expert. Generate a commit message based on code changes.

Changes description: {changes}

Generate:
1. **Conventional Commits format** message
   - type(scope): description
2. **Detailed explanation** (body)
3. **Breaking Changes** (if any)
4. Types: feat/fix/docs/style/refactor/test/chore
5. Provide both short and detailed versions

💡 Example

Input: "added login, fixed homepage CSS" → Conventional commit message

#Git#Commit#Version Control#Convention

⚠️ How to Use

Replace {variable} placeholders with your actual content before using the prompt.