Gitignore CLAUDE.local.md - #20008
Conversation
This is useful while we don't have a committed `CLAUDE.md` file. These are used by Claude Code to understand the project.
|
Maybe preferable to rely on user-level gitignores? Other people will have other tools they use and it doesn't seem particularly needed to put everyone's tools into the project gitignores: |
| # Don't include local CLAUDE config | ||
| /CLAUDE.local.md |
There was a problem hiding this comment.
The answer is sure, we can add it. We are not strict about keeping our .gitignore clean (free of platform/vendor specific things). Element is mostly using Claude right now.
For reference, this can can be made project specific local ignore by adding it to .git/info/exclude
Or apply to all of your projects, if you add it to ~/.config/git/ignore
Also as another tip, if you see an ignored file, you can also check why it's ignored via git check-ignore --verbose CLAUDE.local.md
This is useful while we don't have a committed
CLAUDE.mdfile.These are used by Claude Code to understand the project.