AGENTS.md: Add instructions regarding backticks inside commit messages#61305
Draft
DilumAluthge wants to merge 1 commit intomasterfrom
Draft
AGENTS.md: Add instructions regarding backticks inside commit messages#61305DilumAluthge wants to merge 1 commit intomasterfrom
DilumAluthge wants to merge 1 commit intomasterfrom
Conversation
Document that inline git commit message arguments should avoid shell-sensitive formatting, especially backticks inside double quotes, and prefer plain text or a message file when exact formatting is required. Co-authored-by: Codex <codex@openai.com>
vtjnash
reviewed
Mar 13, 2026
Member
vtjnash
left a comment
There was a problem hiding this comment.
I don't think Claude has this bug, so best not to waste tokens on it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm not sure if this is Codex-specific or not, but Codex keeps trying to run
git commit -mwith backticks inside the commit message, and the shell eats up the backticks before it gets to Git. So I thought it might be useful to have something inAGENTS.mdto address this.Alternatively, folks could instead add this content to their global
~/.claude/CLAUDE.mdor~/.codex/AGENTS.md, but I thought it'd be convenient to have it in the repo.🤖 Co-authored-by: Codex.