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

Add .env.* to optionally ignored files in Rails.gitignore. #3065

Merged

Conversation

@hshimoyama
Copy link
Contributor

@hshimoyama hshimoyama commented May 22, 2019

Reasons for making this change:

.env is ignored in Rails.gitignore. but dotenv-rails can handle more files other than .env (.env.local, .env.development.local, etc..)
So this PR adds .env.* to optionally ignored files in Rails.gitignore.

Links to documentation supporting these rule changes:

Files that dotenv-rails can handle.
https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use

Copy link
Member

@shiftkey shiftkey left a comment

@hshimoyama thanks!

@shiftkey shiftkey merged commit 1604c21 into github:master Dec 6, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
tokuhira added a commit to tokuhira/gitignore that referenced this pull request Dec 16, 2019
EffingFancy added a commit to EffingFancy/gitignore that referenced this pull request Feb 23, 2020
r2pgl added a commit to r2pgl/gitignore that referenced this pull request Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants