doc(dev): update claude md for git worktrees (#15020)

This commit is contained in:
Aseem Bansal 2025-10-16 19:11:22 +05:30 committed by GitHub
parent 6610883fe1
commit fb895c91e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,7 @@
"Bash(python -m pytest:*)", "Bash(python -m pytest:*)",
"Bash(yarn:*)", "Bash(yarn:*)",
"Bash(./gradlew:*)", "Bash(./gradlew:*)",
"Bash(../gradlew :metadata-ingestion:lintFix:*)",
"Bash(gw:*)" "Bash(gw:*)"
], ],
"deny": [] "deny": []

View File

@ -21,6 +21,12 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
./gradlew :metadata-ingestion:lintFix # Python linting auto-fix (ruff only) ./gradlew :metadata-ingestion:lintFix # Python linting auto-fix (ruff only)
``` ```
If you are using git worktrees then exclude this as that might cause git related failures when running any gradle command.
```
./gradlew ... -x generateGitPropertiesGlobal
```
**Development setup:** **Development setup:**
```bash ```bash