Skip to content

Added .env in .gitignore #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

ShayokhShorfuddin
Copy link

I noticed that the .gitignore file doesn't exclude .env files by default. This can possibly lead to the accidental commit and push of any sensitive .env file in a project. I understand that .env.local can be used to prevent this, but excluding .env as well can ensure more safety.

Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Added `.env` to prevent accidental commit and push.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant