From a4f00563b5d8dfbf2670501eec3c21ac169abccc Mon Sep 17 00:00:00 2001 From: Xevion Date: Sat, 20 Dec 2025 00:18:46 -0600 Subject: [PATCH] docs: add git -C warning to Claude guidelines --- home/dot_claude/CLAUDE.md.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/home/dot_claude/CLAUDE.md.tmpl b/home/dot_claude/CLAUDE.md.tmpl index d103a2f..1fea297 100644 --- a/home/dot_claude/CLAUDE.md.tmpl +++ b/home/dot_claude/CLAUDE.md.tmpl @@ -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 ` 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