mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 08:24:11 -06:00
docs: add git -C warning to Claude guidelines
This commit is contained in:
@@ -113,6 +113,7 @@ When a project uses `assert2`:
|
|||||||
### Safety & Best Practices
|
### Safety & Best Practices
|
||||||
|
|
||||||
- **Do NOT add co-authoring or attribution to Claude Code/AI**
|
- **Do NOT add co-authoring or attribution to Claude Code/AI**
|
||||||
|
- **Do NOT use `git -C <path>` to specify working directory** - You're already in the correct directory
|
||||||
- **Be very careful with commit history**:
|
- **Be very careful with commit history**:
|
||||||
- Avoid rewriting history unless explicitly prompted by user
|
- Avoid rewriting history unless explicitly prompted by user
|
||||||
- **Check if commits actually went through** when hooks fail
|
- **Check if commits actually went through** when hooks fail
|
||||||
|
|||||||
Reference in New Issue
Block a user