EvaE
Convex Community13mo ago
14 replies
Eva

`npx convex dev` always adds `.env.local` to `.gitignore`?

Hey team!

I'm working on an open source repo that requires contributors to initialize Convex on their local machines. I've noticed a few contributors push code that adds
.env.local
at the bottom of .gitignore, even though it's already listed above. I think this is being added automatically during the initialization process. Is there a way to disable this, or to improve the .gitignore pattern matching so it doesn't get added?
CleanShot_2024-12-21_at_10.02.432x.png
Was this page helpful?