From cd801537a293cb1a24892c9342bd05ffd3bea9a6 Mon Sep 17 00:00:00 2001 From: Zubair Ibn Zamir Date: Wed, 12 Nov 2025 09:14:35 +0600 Subject: [PATCH] Modify .gitignore for environment file handling Updated .gitignore to ignore all env files except .env.example. --- .gitignore | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fd3dbb57..3536b8d1 100644 --- a/.gitignore +++ b/.gitignore @@ -25,8 +25,10 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -# local env files -.env*.local +# Ignore all env files +.env* +# But do not ignore .env.example +!.env.example # vercel .vercel