docs: add git -C warning to Claude guidelines

This commit is contained in:
2025-12-20 00:18:46 -06:00
parent 262ba93097
commit a4f00563b5
+1
View File
@@ -113,6 +113,7 @@ When a project uses `assert2`:
### Safety & Best Practices
- **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**:
- Avoid rewriting history unless explicitly prompted by user
- **Check if commits actually went through** when hooks fail