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.
This commit is contained in:
2026-03-14 20:16:25 -04:00
parent c9a908ff3d
commit b25ff326cc

12
git-guide.md Normal file
View File

@@ -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.