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:
@@ -2,8 +2,13 @@
|
||||
|
||||
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
|
||||
- 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.
|
||||
- Wait for explicit user approval before creating the commit.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user