Update gitignore to include more common files or folders
kishorliv opened this issue · 5 comments
kishorliv commented
Is there an existing issue that is already proposing this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe it
After creating a nest project and adding .env
file, i sometimes accidentally commit it.
Describe the solution you'd like
Update gitignore to contain .env
and some other common files/folders like build
, .tmp
, .log
, etc by default.
Teachability, documentation, adoption, migration strategy
No response
What is the motivation / use case for changing the behavior?
Prevent accidentally committing important files
kamilmysliwiec commented
Would you like to create a PR for this issue?
kishorliv commented
Sure, will create a PR for this.
micalevisk commented
I guess you can pick ones from https://www.toptal.com/developers/gitignore/api/node
kishorliv commented
@micalevisk yep, i usually use it for my projects... will use most of them... it seems to be missing DS_Store
, will add it too...
Edit: We already have it!
kamilmysliwiec commented
Let's track this here #2476