Skip to content
The Latent Daily
The Latent Daily

Sections

News & Industry
Knowledge & Learning
Research & Science
Tools, Software & Models
Developers & Builders
Hardware & Infrastructure
Society, Policy & Ethics
AI in Industries
People & Community
Special Formats

Tag

#Version Control

Version Control on The Latent Daily: 1 prompt. News, explainers and guides on Version Control, each linked to its sources.

1 item

Prompts tagged #Version Control

Codingbeginner

Write a clear git commit message from a diff

Write a git commit message for the diff below. Convention: [e.g. "Conventional Commits (feat:, fix:, refactor:...)", "imperative subject, no prefix", "ticket ID first: PROJ-123"] Why I made this change: [ONE OR TWO SENTENCES, e.g. "users with long names saw the layout break on mobile"] Related ticket or issue: [ID OR "none"] Rules: - Subject line: imperative mood ("Add", "Fix", not "Added"), at most 72 characters, no period at the end. - Blank line, then a body wrapped at 72 characters that explains what changed and why, not a line-by-line list of the diff. - Mention any breaking change, migration or config change in its own line (e.g. "BREAKING CHANGE: ..."). - Do not describe changes that are not in the diff. Do not invent ticket numbers. - If the diff mixes unrelated changes (e.g. a bug fix plus formatting plus a new feature), say so and suggest how to split it into separate commits, with a message for each. Give me the message in a code block so I can copy it. Diff: ``` [PASTE OUTPUT OF git diff --staged] ```

Works with: ChatGPT, Claude, Gemini, GitHub Copilot Chat