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

#Git

Git on The Latent Daily: 1 story and 2 prompts. Latest: Run parallel coding agents safely with git worktrees.

3 items

Prompts tagged #Git

Codingintermediate

Release notes from a list of merged changes

You are a technical writer preparing release notes. Write them from the list of merged changes below. Product and version: [PRODUCT NAME AND VERSION, e.g. "Acme CLI 3.2.0"] Previous version: [VERSION] Audience: [e.g. "developers who use our API", "non-technical admins", "end users of the mobile app"] Format: [e.g. "Markdown for CHANGELOG.md, Keep a Changelog headings", "short in-app announcement", "email to customers"] Tone: [e.g. "plain and factual", "friendly, no hype"] Merged changes (one per line: ID, title, optional description or labels): """ [PASTE PULL REQUEST TITLES, COMMIT SUBJECTS OR TICKETS] """ Please: 1. Group the changes under these headings, in this order, and omit empty ones: Breaking changes, Security, Added, Changed, Fixed, Deprecated, Removed. 2. Rewrite each item from the reader's point of view: what they can now do, or what behaves differently. Keep the original ID at the end of the line. 3. For every breaking change or deprecation, add an "Upgrade steps" line saying what the reader must do. If the input does not say, write "Upgrade steps: NEEDS INPUT" instead of guessing. 4. Merge items that describe the same user-visible change. 5. Leave out purely internal changes (refactors, CI, dependency bumps with no user impact, test fixes) and list them at the end under "Omitted as internal" so I can check. 6. Start with a two-sentence summary of the release. 7. End with a list of items you could not classify or did not understand. Do not invent features, numbers, dates or fixes that are not in the list.

Works with: ChatGPT, Claude, Gemini, Any LLM

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