better default gitignore
Answered
Crazy ant posted this in #help-forum
Crazy antOP
my stupid ass didn't realize the env file that is ignored in .gitignore was .env.local and my env file was .env, it was pushed to production π
Answered by joulev
This is already done https://github.com/vercel/next.js/pull/61920
though you can only see this in canary at the moment.
This feature should land in nextjs stable when nextjs 15 arrives. Which probably will happen in a couple of months.
though you can only see this in canary at the moment.
This feature should land in nextjs stable when nextjs 15 arrives. Which probably will happen in a couple of months.
1 Reply
@Crazy ant my stupid a*ss didn't realize the env file that is ignored in .gitignore was .env*.local and my env file was .env, it was pushed to production π
This is already done https://github.com/vercel/next.js/pull/61920
though you can only see this in canary at the moment.
This feature should land in nextjs stable when nextjs 15 arrives. Which probably will happen in a couple of months.
though you can only see this in canary at the moment.
This feature should land in nextjs stable when nextjs 15 arrives. Which probably will happen in a couple of months.
Answer