From b25ff326cc2383fc6433e3c6286bdd1335b549fa Mon Sep 17 00:00:00 2001 From: "anthony.wen" Date: Sat, 14 Mar 2026 20:16:25 -0400 Subject: [PATCH] Add repo git commit approval guide Document the repo-specific git workflow for /home/aw/code/cds. Require drafting commit messages for user review before running git commit, and keep commits scoped to the approved change. --- git-guide.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 git-guide.md diff --git a/git-guide.md b/git-guide.md new file mode 100644 index 0000000..1980275 --- /dev/null +++ b/git-guide.md @@ -0,0 +1,12 @@ +# Git Guide + +This file records repo-specific git workflow preferences for `/home/aw/code/cds`. + +## Commit Message Requests +- If the user asks for a git commit description, draft the proposed commit message first. +- Do not run `git commit` immediately after drafting the message. +- Wait for explicit user approval before creating the commit. + +## Commit Scope +- When committing, include only the files relevant to the approved change. +- Leave unrelated worktree changes uncommitted unless the user explicitly asks to include them.