Skip to content
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

Adding .env files to .gitignore #4

Merged
merged 1 commit into from Apr 10, 2022
Merged

Adding .env files to .gitignore #4

merged 1 commit into from Apr 10, 2022

Conversation

imCorfitz
Copy link
Contributor

Convention dictates that one should not commit .env files to git. Have added .env* files to .gitignore. If a user wants to document the types of environment variables required for a repo, a sample.env file with documentation for which variables to set is advised.

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Currently .env files are being committed to git.

What is the new behavior?

.gitignore now defaults to correct standards discouraging users from committing .env files to git.

Does this introduce a breaking change?

  • Yes
  • No

@elsowiny elsowiny merged commit 6beea66 into Black-Axe:main Apr 10, 2022
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.

None yet

2 participants