Expand git guide for origin and commit approval workflow

Update git-guide.md to document the repository URL used for this workspace as the current origin.

Require showing the exact git commit command alongside proposed commit messages.

Wait for explicit approval before creating a commit.
This commit is contained in:
2026-03-14 20:59:22 -04:00
parent b25ff326cc
commit 491bd7748c

View File

@@ -2,8 +2,13 @@
This file records repo-specific git workflow preferences for `/home/aw/code/cds`. This file records repo-specific git workflow preferences for `/home/aw/code/cds`.
## Repository Reference
- Active repository: `https://git.devreser.com/anthony.wen/cds-ai.git`
- Treat this repository URL as the current `origin` for this workspace unless the user explicitly says it changed.
## Commit Message Requests ## Commit Message Requests
- If the user asks for a git commit description, draft the proposed commit message first. - If the user asks for a git commit description, draft the proposed commit message first.
- When drafting a commit message, also show the exact `git commit` command that would be used.
- Do not run `git commit` immediately after drafting the message. - Do not run `git commit` immediately after drafting the message.
- Wait for explicit user approval before creating the commit. - Wait for explicit user approval before creating the commit.