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 intofoundry-rs:masterfrom
StErMi:patch-1
Open

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

Conversation

@StErMi
Copy link
Copy Markdown

@StErMi StErMi commented Jun 4, 2022

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
Copy link
Copy Markdown

BunsDev commented Feb 25, 2023

Yeah, I wholeheartedly agree with @StErMi:

  • .env
  • /node_modules/

Copy link
Copy Markdown

@BunsDev BunsDev left a comment

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