Closed jhult closed 3 months ago
But the .envrc is not to be ignored? We check it in. We change it as needed. Maybe you're thinking of the .env file?
@robinbb,
https://www.toptal.com/developers/gitignore/api/direnv recommends to ignore .envrc
. More details here and here.
That first document has a link to https://github.com/direnv/direnv/wiki/.envrc-Boilerplate which says ".gitignore .env, but commit .env{rc,.sample,*} files; see Git Tips". It does not say to ignore .envrc. Also, even if it did, I would argue with it. The .envrc is intended to convey how to configure the developer environment so that all devs are working from same environment.
Since I don't have strong feelings on this, and since the https://github.com/direnv/direnv wiki has conflicting info, I'm going to close this.
But the .envrc is not to be ignored? We check it in. We change it as needed. Maybe you're thinking of the .env file?