Remix.run Logo
▲ cerved a day ago

Suggest adding it to ~/.config/git/ignore

and teach Claude to not git add .

While we're at it, maybe we can also discourage the spurious use of -f for rm -- me personal pet peave

▲hakanbogan 15 hours ago | parent | next [-]

I also use global ignore, but I think the key is to keep secrets out of commands. I store mine in .dev.vars, which Wrangler reads automatically. For production, I use wrangler secret put and enter them myself. I also told Claude to never read that file.

▲wyager a day ago | parent | prev [-]

> and teach Claude to not git add .

It already doesn't do this. This is from users committing the `.claude` directory themselves.