forge-template icon indicating copy to clipboard operation
forge-template copied to clipboard

Update .gitignore preventing `.env` push

Open StErMi opened this issue 3 years ago • 2 comments

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

StErMi avatar Jun 04 '22 05:06 StErMi

Yeah, I wholeheartedly agree with @StErMi:

  • .env
  • /node_modules/

BunsDev avatar Feb 25 '23 23:02 BunsDev

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

s7v7nislands avatar Jun 11 '23 13:06 s7v7nislands