agents/rules/git-commit.md
These rules ensure correct formatting of commits and usage of standard Git commands in V8.
[component] Title.
[agents] title ONLY for changes to the agent automation suite itself.TAG=, BUG=, CONV=) must be at the
very bottom of the CL description.
TAG=agy and the Conversation ID for agent-generated
changes.Change-Id footer is preserved in the commit message.issues.chromium.org), use the plain numerical
bug ID ONLY (e.g., Bug: 509339491) without any prefix.b:
prefix (e.g., Bug: b:349680002).Bug: line.EDITOR=true (e.g.,
EDITOR=true git commit --amend).-m or -F for commit messages to avoid opening an editor.git --no-pager or PAGER=cat for commands with long output (e.g.,
git branch, git log).origin/main). When creating a new worktree or branch (e.g.,
git worktree add -b branch_name path origin/main), always explicitly
specify origin/main as the base commit to ensure isolation from unrelated
local commits.