Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Update .gitignore preventing .env push - #53

Open
StErMi wants to merge 1 commit into
foundry-rs:masterfrom
StErMi:patch-1
Open

Update .gitignore preventing .env push#53
StErMi wants to merge 1 commit into
foundry-rs:masterfrom
StErMi:patch-1

Conversation

@StErMi

@StErMi StErMi commented Jun 4, 2022

Copy link
Copy Markdown

Probably it won't happen because as far as I know, foundry does not support it, but devs could use this template in connection with other tools like hardhat that use .env and it's not a bad practice to prevent this file to be pushed to the repo.

It could be useful to add more files/folder to .gitignore, it would not hurt to ban things like node_modules and similar

Probably it won't happen because as far as I know, foundry does not support it, but devs could use this template in connection with other tools like `hardhat` that use `.env` and it's not a bad practice to prevent this file to be pushed to the repo.

It could be useful to add more files/folder to `.gitignore`, it would not hurt to ban things like `node_modules` and similar
@BunsDev

BunsDev commented Feb 25, 2023

Copy link
Copy Markdown

Yeah, I wholeheartedly agree with @StErMi:

  • .env
  • /node_modules/

@BunsDev BunsDev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider adding: /node_modules/

@s7v7nislands

Copy link
Copy Markdown

the .env is already in .gitignore file, should we close this PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants