Git Commit Message Generator

Stop staring at a blank commit message box. This ChatGPT prompt writes conventional, meaningful commit messages in seconds from your diff or plain-English change summary.

The prompt

Write a concise, conventional git commit message for the following changes. Use the format: type(scope): description. Then add a short bullet-point body if the change needs explanation:

{{diff}}

Works in ChatGPT, Claude, Gemini and other assistants. Replace the highlighted placeholders with your own content.

How to use it

Paste your diff or a plain-English summary of the change at {{diff}}. The output follows the conventional commit format: type, optional scope, a short summary, and a body when the change needs one.

Tips for better results

  • Mention the ticket or issue number so it can be added to the footer.
  • Ask for two or three options and pick the clearest.
  • Keep commits small. A tidy commit message starts with a tidy commit.

Save this prompt in Promta

Keep it in your library and paste it from the menu bar, a hotkey or your iPhone keyboard, without leaving the app you're in.

Download Free on App Store

Free to start · iPhone & Mac

Related prompts

Browse all 60 prompts