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.
835 B
835 B
Git Guide
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
originfor this workspace unless the user explicitly says it changed.
Commit Message Requests
- 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 commitcommand that would be used. - Do not run
git commitimmediately 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.